Re: Fix foreign key constraint check for partitioned tables

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hadi Moshayedi <hadi(at)moshayedi(dot)net>, Edmund Horner <ejrh00(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix foreign key constraint check for partitioned tables
Date: 2019-04-07 12:16:18
Message-ID: 20190407121618.GA30283@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-Apr-06, Tom Lane wrote:

> Hadi Moshayedi <hadi(at)moshayedi(dot)net> writes:

> > This patch also changed the output of some of tests, i.e. previously
> > foreign key constraint failures errored on the partitioned table itself,
> > but now it shows the child table's name in the error message. I hope it is
> > ok.
>
> Yeah, I think that's OK. Interestingly, no such changes appear in
> HEAD's version of the regression test --- probably Alvaro's earlier
> changes had the same effect.

Yeah, they did.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2019-04-07 13:06:56 Re: pg_rewind vs superuser
Previous Message Alvaro Herrera 2019-04-07 12:15:06 Re: ToDo: show size of partitioned table