postgresql/src
Tom Lane 1471a147f0 Fix SortTocFromFile() to cope with lines that are too long for its buffer.
The original coding supposed that a dump TOC file could never contain lines
longer than 1K.  The folly of that was exposed by a recent report from
Per-Olov Esgard.  We only really need to see the first dozen or two bytes
of each line, since we're just trying to read off the numeric ID at the
start of the line; so there's no need for a particularly huge buffer.
What there is a need for is logic to not process continuation bufferloads.

Back-patch to all supported branches, since it's always been like this.
2011-04-07 11:40:23 -04:00
..
backend Fix collations when we call transformWhereClause from outside the parser. 2011-04-07 02:34:57 -04:00
bin Fix SortTocFromFile() to cope with lines that are too long for its buffer. 2011-04-07 11:40:23 -04:00
include Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
interfaces Fix typo in PQconnectStartParams(). 2011-04-02 18:05:42 -04:00
makefiles Allow make check in PL directories 2011-02-15 06:52:12 +02:00
pl Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
port Fix up handling of C/POSIX collations. 2011-03-20 12:44:13 -04:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
timezone Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
tools Update MSVC toolchain to match SGML entity uppercasing 2011-04-04 16:43:15 -04:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Add maintainer-check target 2011-03-28 22:56:52 +03:00
Makefile.shlib Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
nls-global.mk Fix makefile logic to not break the build when xgettext is missing 2010-10-14 23:16:46 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00