Re: create partition table caused server crashed with self-referencing foreign key

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: amul sul <sulamul(at)gmail(dot)com>, Rajkumar Raghuwanshi <rajkumar(dot)raghuwanshi(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: create partition table caused server crashed with self-referencing foreign key
Date: 2020-04-22 11:50:51
Message-ID: 20200422115051.GH33034@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 22, 2020 at 10:21:21PM +1200, David Rowley wrote:
> I pushed a patch to remove the Assert. I didn't really feel a need to
> make any adjustments to the regression tests for this. The Assert was
> clearly out of place, it's hard to imagine that this could ever get
> broken again.

Still, it seems to me that there could be a point in having a test for
partitioned tables with FKs referencing themselves. We have such
tests for plain tables for example.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2020-04-22 12:27:17 Re: WAL usage calculation patch
Previous Message Amit Kapila 2020-04-22 11:43:12 Re: PG compilation error with Visual Studio 2015/2017/2019