| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Doc: clarify handling of duplicate elements in array containment |
| Date: | 2019-09-23 16:37:23 |
| Message-ID: | E1iCRL1-00036Y-2f@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Doc: clarify handling of duplicate elements in array containment tests.
The array <@ and @> operators do not worry about duplicates: if every
member of array X matches some element of array Y, then X is contained
in Y, even if several members of X get matched to the same Y member.
This was not explicitly stated in the docs though, so improve matters.
Discussion: https://postgr.es/m/156614120484.1310.310161642239149585@wrigleys.postgresql.org
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/216bcf583802011365b8bb038b4e73f143e857b2
Modified Files
--------------
doc/src/sgml/func.sgml | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Etsuro Fujita | 2019-09-23 16:45:55 | Re: pgsql: Doc: clean up some issues with spellings of contributor names. |
| Previous Message | Tom Lane | 2019-09-23 16:27:43 | Re: pgsql: Doc: clean up some issues with spellings of contributor names. |