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.
pull/1/head
Peter Eisentraut 15 years ago
parent 6c596c29a3
commit f9e4961b7d
  1. 2
      doc/src/sgml/func.sgml

@ -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>

Loading…
Cancel
Save