postgresql/src/bin
Tom Lane 294a489855 Fix pg_restore's processing of old-style BLOB COMMENTS data.
Prior to 9.0, pg_dump handled comments on large objects by dumping a bunch
of COMMENT commands into a single BLOB COMMENTS archive object.  With
sufficiently many such comments, some of the commands would likely get
split across bufferloads when restoring, causing failures in
direct-to-database restores (though no problem would be evident in text
output).  This is the same type of issue we have with table data dumped as
INSERT commands, and it can be fixed in the same way, by using a mini SQL
lexer to figure out where the command boundaries are.  Fortunately, the
COMMENT commands are no more complex to lex than INSERTs, so we can just
re-use the existing lexer for INSERTs.

Per bug #10611 from Jacek Zalewski.  Back-patch to all active branches.
2014-06-12 20:14:49 -04:00
..
initdb Fix unportable setvbuf() usage in initdb. 2014-05-15 15:58:05 -04:00
pg_basebackup Translation updates 2014-02-17 16:57:27 -05:00
pg_config Translation updates 2014-02-17 16:57:27 -05:00
pg_controldata Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
pg_ctl Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
pg_dump Fix pg_restore's processing of old-style BLOB COMMENTS data. 2014-06-12 20:14:49 -04:00
pg_resetxlog Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
pgevent Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
psql Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
scripts Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:27 -04:00