Thread: pgsql: doc: improve description of subscripting of arrays

pgsql: doc: improve description of subscripting of arrays

From
Bruce Momjian
Date:
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

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/58eb1760baa67a36e71b26f9ed2ddc86a1cac03d

Modified Files
--------------
doc/src/sgml/syntax.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)