"'Andres Freund'" <andres@2ndquadrant.com> writes:
> On 2014-11-06 16:15:15 -0500, Tom Lane wrote:
>> No, the given test case crashes HEAD just fine. Robert seems to have
>> changed the invariants around the trigger query stack in some inconsistent
>> fashion.
> I think it's just a missing
> if (depth < afterTriggers.maxquerydepth)
> continue;
> or similar in AfterTriggerPendingOnRel, inside the second loop.
No such test was required before. If one's needed now, then I'd wonder
what other places have new bugs of the same ilk.
regards, tom lane