Re: [BUG] parenting a PK constraint to a self-FK one (Was: Self FK oddity when attaching a partition)

From: Jehan-Guillaume de Rorthais <jgdr(at)dalibo(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Zhihong Yu <zyu(at)yugabyte(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUG] parenting a PK constraint to a self-FK one (Was: Self FK oddity when attaching a partition)
Date: 2022-11-04 09:29:10
Message-ID: 20221104102910.641baa78@karst
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 3 Nov 2022 20:44:16 +0100
Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:

> On 2022-Oct-05, Alvaro Herrera wrote:
>
> > I've been giving the patches a look and it caused me to notice two
> > additional bugs in the same area:
> >
> > - FKs in partitions are sometimes marked NOT VALID. This is because of
> > missing initialization when faking up a Constraint node in
> > CloneFkReferencing. Easy to fix, have patch, running tests now.
>
> I have pushed the fix for this now.

Thank you Alvaro!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2022-11-04 09:35:18 Re: Pluggable toaster
Previous Message Aleksander Alekseev 2022-11-04 09:25:46 Re: Pluggable toaster