pgsql: pg_dump: Fix some schema issues when dumping sequences

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_dump: Fix some schema issues when dumping sequences
Date: 2017-01-24 22:23:22
Message-ID: E1cW9Uo-0008QF-VO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_dump: Fix some schema issues when dumping sequences

In the new code for selecting sequence data from pg_sequence, set the
schema to pg_catalog instead of the sequences own schema, and refer to
the sequence by OID instead of name, which was missing a schema
qualification.

Reported-by: Stephen Frost <sfrost(at)snowman(dot)net>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/da4d1c0c15ab9afdfeee8bad9a1a9989b6bd59b5

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-01-24 22:24:36 Re: [COMMITTERS] pgsql: Add pg_sequence system catalog
Previous Message Tom Lane 2017-01-24 22:06:44 pgsql: Allow password file name to be specified as a libpq connection p