postgresql/src
Tom Lane febda37fda Avoid platform-dependent infinite loop in pg_dump.
If malloc(0) returns NULL, the binary search in findSecLabels() will
probably go into an infinite loop when there are no security labels,
because NULL-1 is greater than NULL after wraparound.

(We've seen this pathology before ... I wonder whether there's a way to
detect the class of bugs automatically?)

Diagnosis and patch by Steve Singer, cosmetic adjustments by me
2011-11-10 16:09:16 -05:00
..
backend Wrap appendrel member outputs in PlaceHolderVars in additional cases. 2011-11-08 21:14:28 -05:00
bin Avoid platform-dependent infinite loop in pg_dump. 2011-11-10 16:09:16 -05:00
include Fix server header file installation with vpath builds 2011-11-10 20:54:50 +02:00
interfaces Stamp 9.1.1. 2011-09-22 17:57:57 -04:00
makefiles Fix pgxs.mk to always add --dbname=$(CONTRIB_TESTDB) to REGRESS_OPTS. 2011-08-24 15:17:03 -04:00
pl Only install the extension files for the current Python major version 2011-11-09 21:44:21 +02:00
port Stamp 9.1.1. 2011-09-22 17:57:57 -04:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Fix random discrepancies between parallel_schedule and serial_schedule. 2011-11-08 23:05:21 -05:00
timezone Update docs to point to the timezone library's new home at IANA. 2011-10-27 23:09:10 -04:00
tools Fix MinGW build, broken by my previous patch to add a setlocale() wrapper 2011-09-01 14:04:19 +03: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 Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:27 -04:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:50 -04: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