postgresql/src/bin
Tom Lane be09ceb218 Fix pg_dumpall to restore its ability to dump from ancient servers.
Fix breakage induced by commits d8d3d2a4f3
and 463f2625a5fb183b6a8925ccde98bb3889f921d9: pg_dumpall has crashed when
attempting to dump from pre-8.1 servers since then, due to faulty
construction of the query used for dumping roles from older servers.
The query was erroneous as of the earlier commit, but it wasn't exposed
unless you tried to use --binary-upgrade, which you presumably wouldn't
with a pre-8.1 server.  However commit 463f2625a made it fail always.

In HEAD, also fix additional breakage induced in the same query by
commit 491c029dbc, which evidently wasn't
tested against pre-8.1 servers either.

The bug is only latent in 9.1 because 463f2625a hadn't landed yet, but
it seems best to back-patch all branches containing the faulty query.

Gilles Darold
2014-11-13 18:19:26 -05:00
..
initdb Remove use of TAP subtests 2014-10-29 19:41:19 -04:00
pg_basebackup pg_basebackup: Adjust tests for long file name issues 2014-11-07 20:47:38 -05:00
pg_config Remove use of TAP subtests 2014-10-29 19:41:19 -04:00
pg_controldata Switch to CRC-32C in WAL and other places. 2014-11-04 11:39:48 +02:00
pg_ctl Remove use of TAP subtests 2014-10-29 19:41:19 -04:00
pg_dump Fix pg_dumpall to restore its ability to dump from ancient servers. 2014-11-13 18:19:26 -05:00
pg_resetxlog Move the backup-block logic from XLogInsert to a new file, xloginsert.c. 2014-11-06 13:55:36 +02:00
pgevent Properly use DEFAULT_EVENT_SOURCE in pgevent.c 2014-07-21 12:24:00 +02:00
psql Rename pending_list_cleanup_size to gin_pending_list_limit. 2014-11-13 12:14:48 +09:00
scripts Remove use of TAP subtests 2014-10-29 19:41:19 -04:00
Makefile Update copyright for 2014 2014-01-07 16:05:30 -05:00