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

Commit51aebcd

Browse files
committed
Doc: in back branches, don't call it a row constructor if it isn't really.
Before commit906bfca, we were not actually processing the righthandside of a multiple-column assignment in UPDATE as a row constructor:it was just a parenthesized list of expressions. Call it that ratherthan risking confusion by people who would expect the documented behaviorsof row constructors to apply.Back-patch to 9.5; before that, the text correctly described the constructas a "list of independent expressions".Discussion: <16288.1479610770@sss.pgh.pa.us>
1 parent112676f commit51aebcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/ref/update.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@ UPDATE films SET kind = 'Dramatic' WHERE CURRENT OF c_films;
422422
According to the standard, the source value for a parenthesized sub-list of
423423
column names can be any row-valued expression yielding the correct number
424424
of columns. <productname>PostgreSQL</productname> only allows the source
425-
value to be a parenthesized list of expressions(a row constructor)or a
425+
value to be a parenthesized list of expressions or a
426426
sub-<literal>SELECT</>. An individual column's updated value can be
427-
specified as <literal>DEFAULT</> in therow-constructor case, but not
427+
specified as <literal>DEFAULT</> in thelist-of-expressions case, but not
428428
inside a sub-<literal>SELECT</>.
429429
</para>
430430
</refsect1>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp