Skip to content

Commit 4c61a3a

Browse files
author
Etsuro Fujita
committed
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
1 parent 5f851b8 commit 4c61a3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/include/utils/portal.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ typedef struct PortalData
169169
Snapshot portalSnapshot; /* active snapshot, or NULL if none */
170170

171171
/*
172-
* Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING or
173-
* PORTAL_UTIL_SELECT query. (A cursor held past the end of its
174-
* transaction no longer has any active executor state.)
172+
* Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING,
173+
* PORTAL_ONE_MOD_WITH, or PORTAL_UTIL_SELECT query. (A cursor held past
174+
* the end of its transaction no longer has any active executor state.)
175175
*/
176176
Tuplestorestate *holdStore; /* store for holdable cursors */
177177
MemoryContext holdContext; /* memory containing holdStore */

0 commit comments

Comments
 (0)