Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dd00de9

Browse filesBrowse files
committed
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
1 parent 4d93773 commit dd00de9
Copy full SHA for dd00de9

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎doc/src/sgml/syntax.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/syntax.sgml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ CREATE FUNCTION dept(text) RETURNS dept
13831383
</synopsis>
13841384
(Here, the brackets <literal>[ ]</literal> are meant to appear literally.)
13851385
Each <replaceable>subscript</replaceable> is itself an expression,
1386-
which must yield an integer value.
1386+
which will be rounded to the nearest integer value.
13871387
</para>
13881388

13891389
<para>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.