pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Doc: improve documentation for UNNEST().
2+ messages / 1 participants
[nested] [flat]

* pgsql: Doc: improve documentation for UNNEST().
@ 2021-01-27 17:50 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-01-27 17:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Doc: improve documentation for UNNEST().

Per a user question, spell out that UNNEST() returns array elements
in storage order; also provide an example to clarify the behavior for
multi-dimensional arrays.

While here, also clarify the SELECT reference page's description of
WITH ORDINALITY.  These details were already given in 7.2.1.4, but
a reference page should not omit details.

Back-patch to v13; there's not room in the table in older versions.

Discussion: https://postgr.es/m/FF1FB31F-0507-4F18-9559-2DE6E07E3B43@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/662affcfe9e816584e3d8602b3b4005236931bbb

Modified Files
--------------
doc/src/sgml/func.sgml       | 19 +++++++++++++++----
doc/src/sgml/ref/select.sgml | 17 ++++++++++++-----
2 files changed, 27 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Doc: improve documentation for UNNEST().
@ 2021-01-27 17:50 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-01-27 17:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Doc: improve documentation for UNNEST().

Per a user question, spell out that UNNEST() returns array elements
in storage order; also provide an example to clarify the behavior for
multi-dimensional arrays.

While here, also clarify the SELECT reference page's description of
WITH ORDINALITY.  These details were already given in 7.2.1.4, but
a reference page should not omit details.

Back-patch to v13; there's not room in the table in older versions.

Discussion: https://postgr.es/m/FF1FB31F-0507-4F18-9559-2DE6E07E3B43@gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bfda0a02444e204024d83db2874ec884960d24f0

Modified Files
--------------
doc/src/sgml/func.sgml       | 19 +++++++++++++++----
doc/src/sgml/ref/select.sgml | 17 ++++++++++++-----
2 files changed, 27 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-01-27 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 17:50 pgsql: Doc: improve documentation for UNNEST(). Tom Lane <tgl@sss.pgh.pa.us>
2021-01-27 17:50 pgsql: Doc: improve documentation for UNNEST(). Tom Lane <tgl@sss.pgh.pa.us>

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