Re: pgsql: Improve the error message for an inappropriate column definition

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Improve the error message for an inappropriate column definition
Date: 2020-09-24 17:53:37
Message-ID: 20200924175337.GB22807@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2020-09-24 17:55:22 pgsql: Expose oldSnapshotControl definition via new header.
Previous Message Tom Lane 2020-09-24 14:39:16 pgsql: Doc: sync lobj.sgml's copy of testlo.c with the latter file.