Thread: pgsql: Doc: clarify handling of duplicate elements in array containment

pgsql: Doc: clarify handling of duplicate elements in array containment

From
Tom Lane
Date:
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
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/65cddf70aafcac0945947a6966cb316a8dcb91c3

Modified Files
--------------
doc/src/sgml/func.sgml | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)