pgsql: Fix pg_dump to not crash if -t or a similar switch is used to

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_dump to not crash if -t or a similar switch is used to
Date: 2007-04-16 18:42:17
Message-ID: 20070416184217.E0D479FB3BB@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_dump.c (r1.453 -> r1.453.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c.diff?r1=1.453&r2=1.453.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-04-16 18:50:49 pgsql: Tweak clean_encoding_name() API to avoid need to cast away const.
Previous Message Tom Lane 2007-04-16 18:42:11 pgsql: Fix pg_dump to not crash if -t or a similar switch is used to