]> granicus.if.org Git - postgresql/commit
pg_dump: Fix some schema issues when dumping sequences
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 24 Jan 2017 22:03:56 +0000 (17:03 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 24 Jan 2017 22:19:55 +0000 (17:19 -0500)
commitda4d1c0c15ab9afdfeee8bad9a1a9989b6bd59b5
tree2c15c4b603e0875b30840ee127e9d6de0ddd2f43
parentba005f193d88a8404e81db3df223cf689d64d75e
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@snowman.net>
src/bin/pg_dump/pg_dump.c