Skip to content

Commit f9e4961

Browse files
committed
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.
1 parent 6c596c2 commit f9e4961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/func.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10361,7 +10361,7 @@ SELECT NULLIF(value, '(none)') ...
1036110361
</entry>
1036210362
<entry><type>int</type></entry>
1036310363
<entry>returns upper bound of the requested array dimension</entry>
10364-
<entry><literal>array_upper(ARRAY[1,2,3,4], 1)</literal></entry>
10364+
<entry><literal>array_upper(ARRAY[1,8,3,7], 1)</literal></entry>
1036510365
<entry><literal>4</literal></entry>
1036610366
</row>
1036710367
<row>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy