Re: pg_dump crash on identity sequence with not loaded attributes

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Artur Zakirov <zaartur@gmail.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2024-12-10T15:34:48Z
Lists: pgsql-bugs
On 09.12.24 16:54, Artur Zakirov wrote:
> pg_dump crashes when a table is added into an extension and its
> identity sequence isn't.

Maybe the bug is that this scenario is possible in the first place?  The 
identity sequence is an internal dependency.  It would be like putting a 
view into an extension but not the underlying rule?



Commits

  1. Fix possible crash in pg_dump with identity sequences.

  2. Do not dump identity sequences with excluded parent table