pgsql: Doc: improve description of IN and row-constructor comparisons.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: improve description of IN and row-constructor comparisons.
Date: 2023-07-19 15:00:58
Message-ID: E1qM8fh-000HqT-E5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: improve description of IN and row-constructor comparisons.

IN and NOT IN work fine on records and arrays, so just say that
they accept "expressions" not "scalar expressions". I think that
that phrasing was meant to say that they don't work on set-returning
expressions, but that's not the common meaning of "scalar".

Revise the description of row-constructor comparisons to make it
perhaps a bit less confusing. (This partially reverts some
dubious wording changes made by commit f56651519.)

Per gripe from Ilya Nenashev. Back-patch to supported branches.
In HEAD and v16, also drop a NOTE about pre-8.2 behavior, which
is hopefully no longer of interest to anybody.

Discussion: https://postgr.es/m/168968062460.632.14303906825812821399@wrigleys.postgresql.org

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/22d0c30bd9662e48fb0d27253fec6a43c7673f13

Modified Files
--------------
doc/src/sgml/func.sgml | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-07-19 16:46:39 pgsql: Add psql \drg command to display role grants.
Previous Message Michael Paquier 2023-07-19 04:43:17 pgsql: pg_archivecleanup: Add --clean-backup-history