Re: pgsql: Improve the error message for an inappropriate column definition - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql: Improve the error message for an inappropriate column definition
Date
Msg-id 20200924175337.GB22807@momjian.us
Whole thread Raw
In response to pgsql: Improve the error message for an inappropriate column definition  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Improve the error message for an inappropriate column definition
List 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@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

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




pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: sync lobj.sgml's copy of testlo.c with the latter file.
Next
From: Robert Haas
Date:
Subject: pgsql: Expose oldSnapshotControl definition via new header.