Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "'Andres Freund'" <andres(at)2ndquadrant(dot)com>
Cc: Paragon Corporation <lr(at)pcorp(dot)us>, "'Robert Haas'" <robertmhaas(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function
Date: 2014-11-06 22:07:05
Message-ID: 3367.1415311625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"'Andres Freund'" <andres(at)2ndquadrant(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-11-06 22:13:01 Re: [HACKERS] ltree::text not immutable?
Previous Message Jim Nasby 2014-11-06 21:37:01 Re: [BUGS] ltree::text not immutable?