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: improve example for intarray's uniq() function.
Date: Fri, 03 Jun 2022 17:55:23 +0000
Message-ID: <E1nxBW6-002Xrg-Lv@gemulon.postgresql.org> (raw)

Doc: improve example for intarray's uniq() function.

The previous entry invited confusion between what uniq() does
by itself and what it does when combined with sort().  The latter
usage is pretty useful so we should show it, but add an additional
example to clarify the results of uniq() alone.

Per suggestion from Martin Kalcher.  Back-patch to v13, where
we switched to formatting that supports multiple examples.

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9985139046c3aad4214cdd490e7bcdfefc9290d3

Modified Files
--------------
doc/src/sgml/intarray.sgml | 5 +++++
1 file changed, 5 insertions(+)



view thread (3+ messages)  latest in thread

Message-ID: <E1nxBW6-002Xrg-Lv@gemulon.postgresql.org>
Permalink:  ../E1nxBW6-002Xrg-Lv@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nxBW6-002Xrg-Lv@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: improve example for intarray's uniq() function.
  In-Reply-To: <E1nxBW6-002Xrg-Lv@gemulon.postgresql.org>
  References: <E1nxBW6-002Xrg-Lv@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