Skip to content

Commit eb39497

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 630b81d commit eb39497

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
@@ -170,9 +170,9 @@ typedef struct PortalData
170170
Snapshot portalSnapshot; /* active snapshot, or NULL if none */
171171

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

0 commit comments

Comments
 (0)