summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtsuro Fujita2024-08-01 08:45:02 +0000
committerEtsuro Fujita2024-08-01 08:45:02 +0000
commit0540b5fd43d0617f413634c5cf492202a9bd4771 (patch)
tree6e8d81e2a7cc5291233cdd89bdea6cfd34705b0a
parent33187ab5984fcbb4afc0999e478b3e965c4262ab (diff)
Update comment in portal.h.
We store tuples into the portal's tuple store for a PORTAL_ONE_MOD_WITH query as well. Back-patch to all supported branches. Reviewed by Andy Fan. Discussion: https://postgr.es/m/CAPmGK14HVYBZYZtHabjeCd-e31VT%3Dwx6rQNq8QfehywLcpZ2Hw%40mail.gmail.com
-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 aa08b1e0fca..8b69c59356f 100644
--- a/src/include/utils/portal.h
+++ b/src/include/utils/portal.h
@@ -170,9 +170,9 @@ typedef struct PortalData
Snapshot portalSnapshot; /* active snapshot, or NULL if none */
/*
- * Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING or
- * PORTAL_UTIL_SELECT query. (A cursor held past the end of its
- * transaction no longer has any active executor state.)
+ * Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING,
+ * PORTAL_ONE_MOD_WITH, or PORTAL_UTIL_SELECT query. (A cursor held past
+ * the end of its transaction no longer has any active executor state.)
*/
Tuplestorestate *holdStore; /* store for holdable cursors */
MemoryContext holdContext; /* memory containing holdStore */