Make PQescapeBytea and byteaout consistent with each other, and

Joe Conway <mail@joeconway.com>

Commit: 8582f21afdb0a9241b915e56fc2ddb50dcd0509c
Author: Joe Conway <mail@joeconway.com>
Date: 2003-11-30T20:52:37Z
Releases: 7.3.5
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

PathChange+/−
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