Re: pg_extension_config_dump() doesn't register owned sequences - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_extension_config_dump() doesn't register owned sequences
Date
Msg-id CAB7nPqTHE-1iNpCgL+5qsoA-dG2Picf8CK4q9fFA+m3q=g58YA@mail.gmail.com
Whole thread Raw
In response to pg_extension_config_dump() doesn't register owned sequences  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On Fri, Aug 28, 2015 at 10:16 AM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:
> Is it intentional that pg_extension_config_dump() doesn't also add sequences
> owned by a table? If not, I'll work on a patch.

I recall this behavior to be intentional. They are taken into account
only if they are explicitly marked with pg_extension_config_dump()
even in the case of SERIAL sequence, and when dumping the data those
sequences are updated with setval.
Regards,
-- 
Michael



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Support for N synchronous standby servers - take 2
Next
From: Øyvind A. Holm
Date:
Subject: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified