pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Bille <andrewbille@gmail.com>
Cc: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: drewk@cockroachlabs.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18463: Possible bug in stored procedures with polymorphic OUT parameters
Date: Tue, 04 Jun 2024 13:29:25 -0400
Message-ID: <485343.1717522165@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJnzarw9EeWHAQRm76dXd=7j+rgw6ERqC=nCay8jeFqTwKwhqQ@mail.gmail.com>
References: <18463-f8cd77e12564d8a2@postgresql.org>
	<20240514151843.yvq3wlt7n2kechv5@ddolgov.remote.csb>
	<1124184.1715706026@sss.pgh.pa.us>
	<1341220.1715715337@sss.pgh.pa.us>
	<1631943.1715731231@sss.pgh.pa.us>
	<20240515143506.pln5mzipy7iwa45i@ddolgov.remote.csb>
	<1800943.1715794137@sss.pgh.pa.us>
	<CAJnzarw9EeWHAQRm76dXd=7j+rgw6ERqC=nCay8jeFqTwKwhqQ@mail.gmail.com>

Andrew Bille <andrewbille@gmail.com> writes:
> After 70ffb27b in REL_12 following script
> CREATE OR REPLACE PROCEDURE p(inout a anyelement, inout b anyelement)
> LANGUAGE SQL
> AS $$
>   SELECT $1, 1;
> $$;
> CALL p(1.1, null);
> crash server with backtrace:

Thanks for the report!  It's fine in v13 and later, so I must have
missed something while back-patching.  Will look.

			regards, tom lane





view thread (10+ messages)  latest in thread

Message-ID: <485343.1717522165@sss.pgh.pa.us>
Permalink:  ../485343.1717522165@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/485343.1717522165@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, andrewbille@gmail.com, 9erthalion6@gmail.com, drewk@cockroachlabs.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18463: Possible bug in stored procedures with polymorphic OUT parameters
  In-Reply-To: <485343.1717522165@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