Re: persevere NO INHERIT when Dump not-null constraints on inherited columns

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: jian he <jian.universality@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-02-25T18:23:20Z
Lists: pgsql-hackers

Attachments

On 2026-Feb-25, Álvaro Herrera wrote:

> Ugh, you're right, this is broken and your patch fixes it.
> 
> I'm gonna write a quick test case for this and push as soon as I'm able.

Here it is.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/

Commits

  1. pg_dump: Preserve NO INHERIT on NOT NULL on inheritance children

  2. Dump not-null constraints on inherited columns correctly