doc: improve description of subscripting of arrays
It wasn't clear the non-integers are cast to integers for subscripting, rather than throwing an error. Reported-by: sean@materialize.io Discussion: https://postgr.es/m/159538675800.624.7728794628229799531@wrigleys.postgresql.org Backpatch-through: 9.5
This commit is contained in:
parent
47c427d006
commit
06eba0fd10
@ -1359,7 +1359,7 @@ CREATE FUNCTION dept(text) RETURNS dept
|
||||
</synopsis>
|
||||
(Here, the brackets <literal>[ ]</literal> are meant to appear literally.)
|
||||
Each <replaceable>subscript</replaceable> is itself an expression,
|
||||
which must yield an integer value.
|
||||
which will be rounded to the nearest integer value.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
x
Reference in New Issue
Block a user