mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
Improve array_upper example
The previous example didn't make it clear whether array_upper returned the last element or the index of the last element.
This commit is contained in:
@ -10361,7 +10361,7 @@ SELECT NULLIF(value, '(none)') ...
|
||||
</entry>
|
||||
<entry><type>int</type></entry>
|
||||
<entry>returns upper bound of the requested array dimension</entry>
|
||||
<entry><literal>array_upper(ARRAY[1,2,3,4], 1)</literal></entry>
|
||||
<entry><literal>array_upper(ARRAY[1,8,3,7], 1)</literal></entry>
|
||||
<entry><literal>4</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
|
Reference in New Issue
Block a user