pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: clarify handling of duplicate elements in array containment
Date: Mon, 23 Sep 2019 16:37:23 +0000
Message-ID: <E1iCRL1-00036d-3Z@gemulon.postgresql.org> (raw)

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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0652c3992ebf4f3c90ca69a139020af769406f84

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



view thread (7+ messages)  latest in thread

Message-ID: <E1iCRL1-00036d-3Z@gemulon.postgresql.org>
Permalink:  ../E1iCRL1-00036d-3Z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iCRL1-00036d-3Z@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: clarify handling of duplicate elements in array containment
  In-Reply-To: <E1iCRL1-00036d-3Z@gemulon.postgresql.org>
  References: <E1iCRL1-00036d-3Z@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox