Expand comments and add an assertion in nodeModifyTable.c.

Noah Misch <noah@leadboat.com>

Commit: fea47de3016ac8bc29bce10382220a457d2ef57f
Author: Noah Misch <noah@leadboat.com>
Date: 2024-06-28T02:21:13Z
Releases: 12.20
Expand comments and add an assertion in nodeModifyTable.c.

Most comments concern RELKIND_VIEW.  One addresses the ExecUpdate()
"tupleid" parameter.  A later commit will rely on these facts, but they
hold already.  Back-patch to v12 (all supported versions), the plan for
that commit.

Reviewed (in an earlier version) by Robert Haas.

Discussion: https://postgr.es/m/20240512232923.aa.nmisch@google.com

Files

PathChange+/−
src/backend/executor/nodeModifyTable.c modified +17 −7

Discussion