postgresql/src/bin
Tom Lane b1732111f2 Fix pg_dump to do the right thing when escaping the contents of large objects.
The previous implementation got it right in most cases but failed in one:
if you pg_dump into an archive with standard_conforming_strings enabled, then
pg_restore to a script file (not directly to a database), the script will set
standard_conforming_strings = on but then emit large object data as
nonstandardly-escaped strings.

At the moment the code is made to emit hex-format bytea strings when dumping
to a script file.  We might want to change to old-style escaping for backwards
compatibility, but that would be slower and bulkier.  If we do, it's just a
matter of reimplementing appendByteaLiteral().

This has been broken for a long time, but given the lack of field complaints
I'm not going to worry about back-patching.
2009-08-04 21:56:09 +00:00
..
initdb Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pg_config Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pg_controldata Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pg_ctl Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pg_dump Fix pg_dump to do the right thing when escaping the contents of large objects. 2009-08-04 21:56:09 +00:00
pg_resetxlog Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
pgevent 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
psql Add ALTER TABLE ... ALTER COLUMN ... SET STATISTICS DISTINCT 2009-08-02 22:14:53 +00:00
scripts Translation updates for 8.4 release. 2009-06-26 19:33:52 +00:00
Makefile Update copyright for 2009. 2009-01-01 17:24:05 +00:00