doc: improve description of subscripting of arrays

Bruce Momjian <bruce@momjian.us>

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