Re: BUG #15720: `executor could not find named tuplestore ABC` in AFTER DELETE trigger referencing OLD TABLE as ABC - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15720: `executor could not find named tuplestore ABC` in AFTER DELETE trigger referencing OLD TABLE as ABC
Date
Msg-id 24823.1562687102@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15720: `executor could not find named tuplestore ABC` inAFTER DELETE trigger referencing OLD TABLE as ABC  (Jason Madden <jason.madden@nextthought.com>)
Responses Re: BUG #15720: `executor could not find named tuplestore ABC` inAFTER DELETE trigger referencing OLD TABLE as ABC  (Jason Madden <jason.madden@nextthought.com>)
List pgsql-bugs
Jason Madden <jason.madden@nextthought.com> writes:
> I hope that at least begins to answer your question. Thanks for thinking about this!

FYI, we're now thinking that the problem here is unrelated to partitions
but instead is a bug in EPQ, which is a subsystem that's entered only when
a row to be locked/updated is found to have just been updated by some
concurrent transaction.  See

https://www.postgresql.org/message-id/flat/15900-bc482754fe8d7415%40postgresql.org

If you're in a position to build a custom version of Postgres, you
might try whether the patch proposed in that thread resolves your
problem.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15900: `executor could not find named tuplestore` in triggers with transition table and row locks
Next
From: Jason Madden
Date:
Subject: Re: BUG #15720: `executor could not find named tuplestore ABC` inAFTER DELETE trigger referencing OLD TABLE as ABC