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>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Subject: Re: assert in nested SQL procedure call in current HEAD
Date: 2018-06-08 04:20:42
Message-ID: 87a7s5x6bq.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "Andrew" == Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:

>>>>> "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"...

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

I added it to the open items list since nobody else seems to have taken
notice; from Tom's linked message it seems this should be Peter E's bag?

--
Andrew (irc:RhodiumToad)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-06-08 04:56:36 Re: Performance regression with PostgreSQL 11 and partitioning
Previous Message Tom Lane 2018-06-08 03:54:14 Re: config.{guess,sub} updates