summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2024-08-01 17:45:08 +0900
committerEtsuro Fujita <efujita@postgresql.org>2024-08-01 17:45:08 +0900
commit13fa2262100231d8839dc799db0372f6b4cc83c7 (patch)
tree7f5990adf44ff2037e90d0ea39e48baed1f2d2bc
parent33c5baff66bd90c96a4ce8da4884d2c0c2b0eb35 (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 af0afcf9856..a98cc2c0957 100644
--- a/src/include/utils/portal.h
+++ b/src/include/utils/portal.h
@@ -161,9 +161,9 @@ typedef struct PortalData
int16 *formats; /* a format code for each column */
/*
- * 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 */