Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit06eba0f

Browse 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.ioDiscussion:https://postgr.es/m/159538675800.624.7728794628229799531@wrigleys.postgresql.orgBackpatch-through: 9.5
1 parent47c427d commit06eba0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/syntax.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ CREATE FUNCTION dept(text) RETURNS dept
13591359
</synopsis>
13601360
(Here, the brackets <literal>[ ]</literal> are meant to appear literally.)
13611361
Each <replaceable>subscript</replaceable> is itself an expression,
1362-
whichmust yield an integer value.
1362+
whichwill be rounded to the nearest integer value.
13631363
</para>
13641364

13651365
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp