aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorDean Rasheed <dean.a.rasheed@gmail.com>2024-06-04 09:29:42 +0100
committerDean Rasheed <dean.a.rasheed@gmail.com>2024-06-04 09:29:42 +0100
commit5c5bccef211cfc98e0d6c4bc1af40a33c8ac2488 (patch)
treeca26fb17d51d67cb0fed6835a93d4be9cef02ce5 /src/include/utils
parent83fc61ccfaf38aebe73eacdfc712106797d75b39 (diff)
downloadpostgresql-5c5bccef211cfc98e0d6c4bc1af40a33c8ac2488.tar.gz
postgresql-5c5bccef211cfc98e0d6c4bc1af40a33c8ac2488.zip
Fix another couple of outdated comments for MERGE RETURNING.
Oversights in c649fa24a4 which added RETURNING support to MERGE. Discussion: https://postgr.es/m/CAApHDvpqp6vtUzG-_josUEiBGyqnrnVxJ-VdF+hJLXjHdHzsyQ@mail.gmail.com
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/portal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h
index 535928613f1..11419faecaa 100644
--- a/src/include/utils/portal.h
+++ b/src/include/utils/portal.h
@@ -64,9 +64,9 @@
* supports holdable cursors (the Executor results can be dumped into a
* tuplestore for access after transaction completion).
*
- * PORTAL_ONE_RETURNING: the portal contains a single INSERT/UPDATE/DELETE
- * query with a RETURNING clause (plus possibly auxiliary queries added by
- * rule rewriting). On first execution, we run the portal to completion
+ * PORTAL_ONE_RETURNING: the portal contains a single INSERT/UPDATE/DELETE/
+ * MERGE query with a RETURNING clause (plus possibly auxiliary queries added
+ * by rule rewriting). On first execution, we run the portal to completion
* and dump the primary query's results into the portal tuplestore; the
* results are then returned to the client as demanded. (We can't support
* suspension of the query partway through, because the AFTER TRIGGER code