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

Commit9d710a1

Browse files
committed
PG 18 relnotes: adjust RETURNING new/old item
Reported-by: jian heDiscussion:https://postgr.es/m/CACJufxFM1avdwu=OrTx_uMAjTDbFOj1Gp7mnNHOofTVj9QtmRw@mail.gmail.com
1 parent8fcc648 commit9d710a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/release-18.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,9 +1432,9 @@ Add OLD/NEW support to RETURNING in DML queries (Dean Rasheed)
14321432
</para>
14331433

14341434
<para>
1435-
Previously RETURNING only returned new values for INSERT and UPDATE, old values for DELETE; MERGE would return the appropriate value for the internal query executed. This new syntax
1436-
allowsINSERT with an ON CONFLICT action to return old values,UPDATE to return oldvalues,andDELETE to returnnew valuesifthequery assigned to an ON DELETE row would return new
1437-
values. New syntax allows changeable relation aliases "old" and "new" to specify which values should be returned.
1435+
Previously RETURNING only returned new values for INSERT and UPDATE,andold values for DELETE; MERGE would return the appropriate value for the internal query executed. This new syntax
1436+
allowsthe RETURNING list of INSERT/UPDATE/DELETE/MERGE toexplicitlyreturn old and new valuesby usingthespecial aliases "old" and "new". These aliases can be renamed to
1437+
avoid identifier conflicts.
14381438
</para>
14391439
</listitem>
14401440

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp