Re: BUG #15343: Segmentation fault using pg_dump with --exclude-table if table contains identity column
David Rowley <david.rowley@2ndquadrant.com>
From: David Rowley <david.rowley@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>,
ND Abelisto <abelisto@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2018-08-21T11:12:34Z
Lists: pgsql-bugs
Attachments
- pg_dump_identity_seq_fix.patch (application/octet-stream) patch
On 21 August 2018 at 17:46, David Rowley <david.rowley@2ndquadrant.com> wrote: > On 21 August 2018 at 13:49, Michael Paquier <michael@paquier.xyz> wrote: >> I was just looking at this issue, or both of you are already on it? > > It's already in my head what it should look like, so I can write it, > although it might not appear until tomorrow, as I've reached the end > of my day now. I've attached what I had in mind. The header comment for getOwnedSeqs() gives me the impression this is the best place to locate this code. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Do not dump identity sequences with excluded parent table
- cb282eab1a68 10.6 landed
- 4ed59e02f5aa 11.0 landed
- b965f2617184 12.0 landed