pgsql: doc: improve description of subscripting of arrays

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: improve description of subscripting of arrays
Date: 2020-08-31 17:49:34
Message-ID: E1kCnvy-0007Lt-Uq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)materialize(dot)io

Discussion: https://postgr.es/m/159538675800.624.7728794628229799531@wrigleys.postgresql.org

Backpatch-through: 9.5

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e8e15385a12d3f733e67fdad41f276633ab57fd3

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2020-08-31 17:58:16 pgsql: C comment: remove mention of use of t_hoff WAL structure member
Previous Message Bruce Momjian 2020-08-31 17:43:22 pgsql: docs: improve 'capitals' inheritance example