]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: improve example for intarray's uniq() function.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jun 2022 17:54:53 +0000 (13:54 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jun 2022 17:54:58 +0000 (13:54 -0400)
commitc1ad8047a2c22f841e4e3df39696febeb7167e6c
treeb18b30547c1f13185a3ec55539751cfd0ee85626
parent2223c2a7c4403e71c2553c313e958503084077f3
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
doc/src/sgml/intarray.sgml