doc: improve description of subscripting of arrays

Bruce Momjian <bruce@momjian.us>

Commit: dd00de928c3fe59f48510f6d02e5e9b8d72c8ae5
Author: Bruce Momjian <bruce@momjian.us>
Date: 2020-08-31T17:49:17Z
Releases: 9.6.20
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

Files

PathChange+/−
doc/src/sgml/syntax.sgml modified +1 −1

Documentation touched