Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function
| От | 'Andres Freund' |
|---|---|
| Тема | Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function |
| Дата | |
| Msg-id | 20141106212412.GB12525@awork2.anarazel.de обсуждение исходный текст |
| Ответ на | Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function
|
| Список | pgsql-bugs |
On 2014-11-06 16:15:15 -0500, Tom Lane wrote: > "Paragon Corporation" <lr@pcorp.us> writes: > > I can pull from latest git and then run the tests again if you think the > > issue is fixed. > > 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. Alternatively we could make the for something like depth = 0; depth <= Min(afterTriggers.query_depth, afterTriggers.query_depth - 1) but that doesn't seem prettier. Robert? Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-bugs по дате отправления: