Re: Another FK violation when referencing a multi-level partitioned table

Jehan-Guillaume de Rorthais <jgdr@dalibo.com>

From: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2020-02-07T22:26:32Z
Lists: pgsql-bugs
On Fri, 7 Feb 2020 18:30:51 -0300
Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
...
> > Please, find in attachment a proposal patch to fix this FK violation.  
> 
> You fix looks correct to me, so pushed.  I took a minute to apply some
> minor corrections to the comments, too.
> 
> Thanks for reporting!

Oh, you actually pushed it already. Thank you!

Regards,



Commits

  1. Simplify FK-to-partitioned regression test query

  2. Fix failure to create FKs correctly in partitions