Fix pg_dump to not crash if -t or a similar switch is used to select a serial
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Apr 2007 18:42:10 +0000 (18:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Apr 2007 18:42:10 +0000 (18:42 +0000)
commit6ee2a3be4ab1a87fb0a02876c19bf130ca5d2129
treef4ea49ff9a54d92f8eaafb26803d25b3e1f88c8e
parentde9effb55f549e2d7e558c3e5d49bfdb6ee775a3
Fix pg_dump to not crash if -t or a similar switch is used to select a serial
sequence for dumping without also selecting its owning table.  Make it not try
to emit ALTER SEQUENCE OWNED BY in this situation.
Per report from Michael Nolan.
src/bin/pg_dump/pg_dump.c