mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
Update some comments that should've covered MERGE
Oversight in 7103ebb7aa
. Backpatch to 15.
Author: Richard Guo <guofenglinux@gmail.com>
Discussion: https://postgr.es/m/CAMbWs48gnDjZXq3-b56dVpQCNUJ5hD9kdtWN4QFwKCEapspNsA@mail.gmail.com
This commit is contained in:
@@ -1013,7 +1013,7 @@ build_joinrel_tlist(PlannerInfo *root, RelOptInfo *joinrel,
|
||||
|
||||
if (var->varno == ROWID_VAR)
|
||||
{
|
||||
/* UPDATE/DELETE row identity vars are always needed */
|
||||
/* UPDATE/DELETE/MERGE row identity vars are always needed */
|
||||
RowIdentityVarInfo *ridinfo = (RowIdentityVarInfo *)
|
||||
list_nth(root->row_identity_vars, var->varattno - 1);
|
||||
|
||||
|
Reference in New Issue
Block a user