Re: BUG #19074: pg_dump from v18 loses the NOT NULL flag in the inherited table field when dumping v17-databases - Mailing list pgsql-bugs

From Dilip Kumar
Subject Re: BUG #19074: pg_dump from v18 loses the NOT NULL flag in the inherited table field when dumping v17-databases
Date
Msg-id CAFiTN-sX4PuhHYNyXvzvjzEoHsWwcyU9hJ_tKNu-ZB_frCQvnw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #19074: pg_dump from v18 loses the NOT NULL flag in the inherited table field when dumping v17-databases  (Álvaro Herrera <alvherre@kurilemu.de>)
List pgsql-bugs
On Sat, 18 Oct 2025 at 9:52 PM, Álvaro Herrera <alvherre@kurilemu.de> wrote:
On 2025-Oct-06, Dilip Kumar wrote:

> I think we can fix it in getTableAttrs(), see attached, with that I
> can see my dump is correct.  This is just a quick way to show what I
> am thinking, maybe we can improve this condition.

Pushed, thanks.  I added a test so that cross-version upgrade will hit
this.

Thanks Alvaro!

pgsql-bugs by date:

Previous
From: David Rowley
Date:
Subject: Re: Potential "AIO / io workers" inter-worker locking issue in PG18?
Next
From: "badfilez@gmail.com"
Date:
Subject: Re: PG17.6 zstd handling bug