Commit bfda0a0
committed
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.com1 parent 2378d92 commit bfda0a0
2 files changed
+27
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17926 | 17926 | | |
17927 | 17927 | | |
17928 | 17928 | | |
17929 | | - | |
| 17929 | + | |
| 17930 | + | |
17930 | 17931 | | |
17931 | 17932 | | |
17932 | 17933 | | |
17933 | 17934 | | |
17934 | 17935 | | |
17935 | 17936 | | |
17936 | 17937 | | |
| 17938 | + | |
| 17939 | + | |
| 17940 | + | |
| 17941 | + | |
| 17942 | + | |
| 17943 | + | |
| 17944 | + | |
| 17945 | + | |
| 17946 | + | |
| 17947 | + | |
17937 | 17948 | | |
17938 | 17949 | | |
17939 | 17950 | | |
| |||
17944 | 17955 | | |
17945 | 17956 | | |
17946 | 17957 | | |
17947 | | - | |
| 17958 | + | |
17948 | 17959 | | |
17949 | | - | |
17950 | | - | |
| 17960 | + | |
| 17961 | + | |
17951 | 17962 | | |
17952 | 17963 | | |
17953 | 17964 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
480 | | - | |
481 | | - | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
482 | 490 | | |
483 | 491 | | |
484 | 492 | | |
485 | 493 | | |
486 | 494 | | |
487 | 495 | | |
488 | 496 | | |
489 | | - | |
490 | | - | |
| 497 | + | |
491 | 498 | | |
492 | 499 | | |
493 | 500 | | |
| |||
0 commit comments