From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Improve the error message for an inappropriate column definition
Date: Thu, 24 Sep 2020 13:53:37 -0400
Message-ID: <20200924175337.GB22807@momjian.us> (raw)
In-Reply-To: <E1kKjbe-0007tX-Np@gemulon.postgresql.org>
References: <E1kKjbe-0007tX-Np@gemulon.postgresql.org>
On Tue, Sep 22, 2020 at 02:49:22PM +0000, Tom Lane wrote:
> Improve the error message for an inappropriate column definition list.
>
> The existing message about "a column definition list is only allowed for
> functions returning "record"" could be given in some cases where it was
> fairly confusing; in particular, a function with multiple OUT parameters
> *does* return record according to pg_proc. Break it down into a couple
> more cases to deliver a more on-point complaint. Per complaint from
> Bruce Momjian.
>
> Discussion: https://postgr.es/m/798909.1600562993@sss.pgh.pa.us
Uh, did you not want to backpatch this?
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
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-committers@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Improve the error message for an inappropriate column definition
In-Reply-To: <20200924175337.GB22807@momjian.us>
References: <E1kKjbe-0007tX-Np@gemulon.postgresql.org> <20200924175337.GB22807@momjian.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