]> granicus.if.org Git - postgresql/commit
Ensure that pg_restore -l will output DATABASE entries whether or not -C
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 May 2010 21:41:16 +0000 (21:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 May 2010 21:41:16 +0000 (21:41 +0000)
commitbd823e11fa52a79f6116e1538f861cccd8823f3f
tree916928770a2ffeb3aaf13bb497005f4edbb0c32a
parentea9968c331ab913d07b0a7eb2c28f29915e39893
Ensure that pg_restore -l will output DATABASE entries whether or not -C
is specified.  Per bug report from Russell Smith and ensuing discussion.
Since this is a corner case behavioral change, I'm going to be conservative
and not back-patch it.

In passing, also rename the RestoreOptions field for the -C switch to
something less generic than "create".
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_restore.c