Re: assert in nested SQL procedure call in current HEAD

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: assert in nested SQL procedure call in current HEAD
Date: 2018-05-25 21:42:54
Message-ID: 87d0xj1kh3.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "Joe" == Joe Conway <mail(at)joeconway(dot)com> writes:

Joe> My colleague Yogesh Sharma discovered an assert in nested SQL
Joe> procedure calls after ROLLBACK is used. Minimal test case and
Joe> backtrace below. I have not yet tried to figure out exactly what
Joe> is going on beyond seeing that it occurs in pg_plan_query() where
Joe> the comment says "Planner must have a snapshot in case it calls
Joe> user-defined functions"...

https://www.postgresql.org/message-id/29608.1518533639@sss.pgh.pa.us

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-05-25 21:47:37 Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
Previous Message Jonathan S. Katz 2018-05-25 21:33:03 Re: Performance regression with PostgreSQL 11 and partitioning