Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function
Date
Msg-id 3367.1415311625@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function  ('Andres Freund' <andres@2ndquadrant.com>)
List pgsql-bugs
"'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

pgsql-bugs by date:

Previous
From: Jim Nasby
Date:
Subject: Re: [HACKERS] ltree::text not immutable?
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] ltree::text not immutable?