Make PQescapeBytea and byteaout consistent with each other, and
Joe Conway <mail@joeconway.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/datatype.sgml | modified | +16 −4 |
| src/backend/utils/adt/varlena.c | modified | +7 −7 |
| src/interfaces/libpq/fe-exec.c | modified | +5 −4 |