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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: improve example for intarray's uniq() function.
Date: 2022-06-03 17:55:22
Message-ID: E1nxBW6-002Xrc-Kt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4ecacc3c8cb4b27374bdb1ca83696c0c09ee7f79

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-06-03 17:55:23 pgsql: Doc: improve example for intarray's uniq() function.
Previous Message Tom Lane 2022-06-03 15:52:46 pgsql: Doc: fix incorrect bit-reversal in example of macaddr formatting