mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +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:
@@ -163,7 +163,11 @@ transformMergeStmt(ParseState *pstate, MergeStmt *stmt)
|
||||
errmsg("unreachable WHEN clause specified after unconditional WHEN clause")));
|
||||
}
|
||||
|
||||
/* Set up the MERGE target table. */
|
||||
/*
|
||||
* Set up the MERGE target table. The target table is added to the
|
||||
* namespace below and to joinlist in transform_MERGE_to_join, so don't
|
||||
* do it here.
|
||||
*/
|
||||
qry->resultRelation = setTargetTable(pstate, stmt->relation,
|
||||
stmt->relation->inh,
|
||||
false, targetPerms);
|
||||
|
Reference in New Issue
Block a user