From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bryn Llewellyn <bryn@yugabyte.com>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: Meaning of "constant" not honored when the variable is used as the actual for a proc's OUT formal paameter
Date: Tue, 03 May 2022 18:22:06 -0400
Message-ID: <2234967.1651616526@sss.pgh.pa.us> (raw)
In-Reply-To: <AD24E528-98A5-4961-A72F-0F9D402E42A4@yugabyte.com>
References: <AD24E528-98A5-4961-A72F-0F9D402E42A4@yugabyte.com>
Bryn Llewellyn <bryn@yugabyte.com> writes:
> The DO block runs without error and reports "INFO: 42". This is an unambiguous semantic error because "a" is declared "constant".
> Is this a known issue?
It is, see
https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=ccd10a9bf
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, bryn@yugabyte.com
Subject: Re: Meaning of "constant" not honored when the variable is used as the actual for a proc's OUT formal paameter
In-Reply-To: <2234967.1651616526@sss.pgh.pa.us>
References: <AD24E528-98A5-4961-A72F-0F9D402E42A4@yugabyte.com> <2234967.1651616526@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