]> granicus.if.org Git - postgresql/commit
Make PQescapeBytea and byteaout consistent with each other, and
authorJoe Conway <mail@joeconway.com>
Sun, 30 Nov 2003 20:52:37 +0000 (20:52 +0000)
committerJoe Conway <mail@joeconway.com>
Sun, 30 Nov 2003 20:52:37 +0000 (20:52 +0000)
commit8582f21afdb0a9241b915e56fc2ddb50dcd0509c
treec424d69f32e09ae56d0188c2616756955323e9b6
parent005887d1c07c1ee2264bbc5334a0fc78cd148b78
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