Re: CREATE TABLE/ProcessUtility hook behavior change - Mailing list pgsql-hackers

From jian he
Subject Re: CREATE TABLE/ProcessUtility hook behavior change
Date
Msg-id CACJufxHUkC5cWDz2mmRTgoo9B=bRyxGLr=QyJ9KQNxeNkdvu0A@mail.gmail.com
Whole thread Raw
In response to Re: CREATE TABLE/ProcessUtility hook behavior change  (David Steele <david@pgmasters.net>)
Responses Re: CREATE TABLE/ProcessUtility hook behavior change
List pgsql-hackers
On Tue, Apr 30, 2024 at 4:35 PM David Steele <david@pgmasters.net> wrote:
>
> On 4/30/24 12:57, jian he wrote:
> > On Tue, Apr 30, 2024 at 10:26 AM David Steele <david@pgmasters.net> wrote:
> >>
> >> Since bb766cde cannot be readily applied to older commits in master I'm
> >> unable to continue bisecting to find the ALTER TABLE behavioral change.
> >>
> >> This seems to leave me with manual code inspection and there have been a
> >> lot of changes in this area, so I'm hoping somebody will know why this
> >> ALTER TABLE change happened before I start digging into it.
> >

I just tested these two commits.
https://git.postgresql.org/cgit/postgresql.git/commit/?id=3da13a6257bc08b1d402c83feb2a35450f988365
https://git.postgresql.org/cgit/postgresql.git/commit/?id=b0e96f311985bceba79825214f8e43f65afa653a

i think it's related to the catalog not null commit.
it will alter table and add not null constraint internally (equivalent
to `alter table test alter id set not null`).



pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: partitioning and identity column
Next
From: Daniel Gustafsson
Date:
Subject: Re: BitmapHeapScan streaming read user and prelim refactoring