Re: BUG #18463: Possible bug in stored procedures with polymorphic OUT parameters - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18463: Possible bug in stored procedures with polymorphic OUT parameters
Date
Msg-id 485343.1717522165@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18463: Possible bug in stored procedures with polymorphic OUT parameters  (Andrew Bille <andrewbille@gmail.com>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Visibility of a local variable
Next
From: "David G. Johnston"
Date:
Subject: Re: Visibility of a local variable