postgresql/src
Tom Lane 5e0f3c793a Use binary search instead of brute-force scan in findNamespace().
The previous coding presented a significant bottleneck when dumping
databases containing many thousands of schemas, since the total time
spent searching would increase roughly as O(N^2) in the number of objects.
Noted by Jeff Janes, though I rewrote his proposed patch to use the
existing findObjectByOid infrastructure.

Since this is a longstanding performance bug, backpatch to all supported
versions.
2012-05-25 14:35:53 -04:00
..
backend Ensure that seqscans check for interrupts at least once per page. 2012-05-22 19:42:23 -04:00
bin Use binary search instead of brute-force scan in findNamespace(). 2012-05-25 14:35:53 -04:00
include Do stack-depth checking in all postmaster children. 2012-04-08 19:09:26 +03:00
interfaces Stamp 8.4.11. 2012-02-23 17:59:21 -05:00
makefiles Fix assorted issues with build and install paths containing spaces. 2011-06-14 16:03:20 -04:00
pl PL/pgSQL RETURN NEXT was leaking converted tuples, causing 2012-05-09 22:47:08 -07:00
port Stamp 8.4.11. 2012-02-23 17:59:21 -05:00
template Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running 2009-02-11 20:02:40 +00:00
test Fix COPY FROM for null marker strings that correspond to invalid encoding. 2012-03-25 23:17:38 -04:00
timezone Fix edge-case behavior of pg_next_dst_boundary(). 2012-04-25 17:25:30 -04:00
tools Backpatch "Use the preferred version of xsubpp." 2011-11-28 07:45:48 -05:00
tutorial Remove copyright mention of Andrew Yu, per author's permission. 2010-02-02 18:52:06 +00:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00: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 Add the possibility to specify an explicit validator function for foreign-data 2009-02-24 10:06:36 +00:00
Makefile.global.in Back-patch creation of tar.bz2 tarball during "make dist". 2011-07-03 16:40:28 -04:00
Makefile.shlib Fix assorted issues with build and install paths containing spaces. 2011-06-14 16:03:20 -04:00
nls-global.mk Do not msgmerge against /dev/null; merge against the pot file itself 2009-01-20 09:58:50 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00