]> 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:53:43 +0000 (20:53 +0000)
committerJoe Conway <mail@joeconway.com>
Sun, 30 Nov 2003 20:53:43 +0000 (20:53 +0000)
commit10b84be9b347bb6ab587719301bbb72ea5f5c78a
tree11d0483abe98818fb38acac75d03a81d295dd39f
parent1adcaadc2f326f4873581fe56d424f6e2729e654
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