postgresql/src/bin
Tom Lane c8e2e0e712 Fix a performance problem in pg_dump's dump order selection logic.
findDependencyLoops() was not bright about cases where there are multiple
dependency paths between the same two dumpable objects.  In most scenarios
this did not hurt us too badly; but since the introduction of section
boundary pseudo-objects in commit a1ef01fe16,
it was possible for this code to take unreasonable amounts of time (tens
of seconds on a database with a couple thousand objects), as reported in
bug #11033 from Joe Van Dyk.  Joe's particular problem scenario involved
"pg_dump -a" mode with long chains of foreign key constraints, but I think
that similar problems could arise with other situations as long as there
were enough objects.  To fix, add a flag array that lets us notice when we
arrive at the same object again while searching from a given start object.
This simple change seems to be enough to eliminate the performance problem.

Back-patch to 9.1, like the patch that introduced section boundary objects.
2014-07-25 19:48:42 -04:00
..
initdb Fix TAP installcheck tests when current directory name contains spaces 2014-07-23 22:06:56 -04:00
pg_basebackup Fix bug where pg_receivexlog goes into busy loop if -s option is set to 0. 2014-07-24 15:25:26 +09:00
pg_config Translation updates 2014-07-21 01:08:04 -04:00
pg_controldata Fix TAP installcheck tests when current directory name contains spaces 2014-07-23 22:06:56 -04:00
pg_ctl Fix TAP installcheck tests when current directory name contains spaces 2014-07-23 22:06:56 -04:00
pg_dump Fix a performance problem in pg_dump's dump order selection logic. 2014-07-25 19:48:42 -04:00
pg_resetxlog Translation updates 2014-07-21 01:08:04 -04:00
pgevent Properly use DEFAULT_EVENT_SOURCE in pgevent.c 2014-07-21 12:24:00 +02:00
psql Translation updates 2014-07-21 01:08:04 -04:00
scripts Translation updates 2014-07-21 01:08:04 -04:00
Makefile Update copyright for 2014 2014-01-07 16:05:30 -05:00