]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: clarify handling of duplicate elements in array containment tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Sep 2019 16:37:04 +0000 (12:37 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Sep 2019 16:37:04 +0000 (12:37 -0400)
commit0652c3992ebf4f3c90ca69a139020af769406f84
tree9357f8ceb2e06cc4bfec6d8808d00212c1d1da62
parent096d34c3ba78fa56eb3ceb766f159b0fbf11adec
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
doc/src/sgml/func.sgml