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

Commit313df8f

Browse files
committed
Fix outdated comments
A few fields in ResultRelInfo are now also used for MERGE. Update thecomments to mention that.Reported-by: jian he <jian.universality@gmail.com>Discussion:https://postgr.es/m/CACJufxH8-NvFhLcSZZTTW+1M9AfS4+SOTKmyPG7ZhzNvN=+NkA@mail.gmail.com:wq
1 parentffabb56 commit313df8f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/include/nodes/execnodes.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ typedef struct ResultRelInfo
465465
IndexInfo**ri_IndexRelationInfo;
466466

467467
/*
468-
* For UPDATE/DELETE result relations, the attribute number of the row
469-
* identity junk attribute in the source plan's output tuples
468+
* For UPDATE/DELETE/MERGE result relations, the attribute number of the
469+
*rowidentity junk attribute in the source plan's output tuples
470470
*/
471471
AttrNumberri_RowIdAttNo;
472472

@@ -524,7 +524,9 @@ typedef struct ResultRelInfo
524524
/* array of constraint-checking expr states */
525525
ExprState**ri_ConstraintExprs;
526526

527-
/* arrays of stored generated columns expr states, for INSERT and UPDATE */
527+
/*
528+
* Arrays of stored generated columns ExprStates for INSERT/UPDATE/MERGE.
529+
*/
528530
ExprState**ri_GeneratedExprsI;
529531
ExprState**ri_GeneratedExprsU;
530532

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp