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:17 +0000 (18:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Apr 2007 18:42:17 +0000 (18:42 +0000)
commitafb34383c86ee277e409ef087e17fbb7f97d1d12
tree4b8575c44765aec38d228d11209dde86b5cf96ea
parent34f08cec5602abdbe6a5776bb8abac168f0d381f
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