Re: BUG #15437: Segfault during insert into declarative partitioned table with a trigger creating partition

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>, Tom Lane <tgl@sss.pgh.pa.us>, skaurus@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2018-11-06T00:14:07Z
Lists: pgsql-bugs
On Mon, Nov 05, 2018 at 04:23:05PM -0300, Alvaro Herrera wrote:
> I think this problem would be fixed by my patch here:
> https://postgr.es/m/20181025202622.d3x4y4ch7m4pxwnn@alvherre.pgsql
> 
> I guess I'm just saying that unhappy users could help review that patch
> ;-)

If that's the case, it may be adapted to rebase the patch on top of
dc3e436b, then remove the limitation and rework the tests' comments.
Removing this limitation would be really nice.
--
Michael

Commits

  1. Block creation of partitions with open references to its parent