Re: pg_dump crash on identity sequence with not loaded attributes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Artur Zakirov <zaartur(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_dump crash on identity sequence with not loaded attributes
Date: 2024-12-10 15:29:52
Message-ID: 66804.1733844592@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Artur Zakirov <zaartur(at)gmail(dot)com> writes:
> On Mon, 9 Dec 2024 at 22:51, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> - if (owning_tab->dobj.dump == DUMP_COMPONENT_NONE &&
>> + if ((owning_tab->dobj.dump & DUMP_COMPONENT_DEFINITION) &&

> I think it is necessary to use negation in this condition.

D'oh, of course. But what's your thoughts on the other points?
Is this what we want to do at all?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2024-12-10 15:34:48 Re: pg_dump crash on identity sequence with not loaded attributes
Previous Message Artur Zakirov 2024-12-10 15:21:33 Re: pg_dump crash on identity sequence with not loaded attributes