OSDN Git Service

Make PQescapeBytea and byteaout consistent with each other, and
authorJoe Conway <mail@joeconway.com>
Sun, 30 Nov 2003 20:55:09 +0000 (20:55 +0000)
committerJoe Conway <mail@joeconway.com>
Sun, 30 Nov 2003 20:55:09 +0000 (20:55 +0000)
commitb8f40ced2f7daebb13a3c9ab9aece5a969e2c28a
tree2535bd3b45be19b38f6212e42dd71c92396dfbe6
parent32abf0e781d813a5ceca77928997fff434a06a8f
Make PQescapeBytea and byteaout consistent with each other, and
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
doc/src/sgml/datatype.sgml
src/backend/utils/adt/varlena.c
src/interfaces/libpq/fe-exec.c