pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Álvaro Herrera <alvherre@kurilemu.de>
Cc: exclusion@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti
Date: Tue, 15 Jul 2025 00:59:26 -0400
Message-ID: <834745.1752555566@sss.pgh.pa.us> (raw)
In-Reply-To: <aHXeledtL7CCUNKd@paquier.xyz>
References: <18984-0f4778a6599ac3ae@postgresql.org>
	<715434.1752521761@sss.pgh.pa.us>
	<799185.1752535067@sss.pgh.pa.us>
	<aHXeledtL7CCUNKd@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> ... I am wondering if we should not just nuke the assertion at the end
> of PortalRunMulti() instead, relying on the same check done at the
> beginning of ProcessUtility().

Yeah, I was starting to think about that solution too.  Removing
code seems nicer than adding more.

CC'ing Alvaro as the original author...

			regards, tom lane





view thread (21+ messages)  latest in thread

Message-ID: <834745.1752555566@sss.pgh.pa.us>
Permalink:  ../834745.1752555566@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/834745.1752555566@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, alvherre@kurilemu.de, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti
  In-Reply-To: <834745.1752555566@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox