Re: cataloguing NOT NULL constraints - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: cataloguing NOT NULL constraints
Date
Msg-id 202404181339.ql3wlpryz6kw@alvherre.pgsql
Whole thread Raw
In response to Re: cataloguing NOT NULL constraints  (Andrew Bille <andrewbille@gmail.com>)
Responses Re: cataloguing NOT NULL constraints
List pgsql-hackers
On 2024-Jan-25, Andrew Bille wrote:

> Starting from b0e96f31, pg_upgrade fails with inherited NOT NULL constraint:
> For example upgrade from 9c13b6814a (or REL_12_STABLE .. REL_16_STABLE) to
> b0e96f31 (or master) with following two tables (excerpt from
> src/test/regress/sql/rules.sql)
> 
> create table test_0 (id serial primary key);
> create table test_1 (id integer primary key) inherits (test_0);

I have pushed a fix which should hopefully fix this problem
(d9f686a72e).  Please give this a look.  Thanks for reporting the issue.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"I apologize for the confusion in my previous responses.
 There appears to be an error."                   (ChatGPT)



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: documentation structure
Next
From: Alvaro Herrera
Date:
Subject: Re: pg17 issues with not-null contraints