Skip to content

Commit 13fa226

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 33c5baf commit 13fa226

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
@@ -161,9 +161,9 @@ typedef struct PortalData
161161
int16 *formats; /* a format code for each column */
162162

163163
/*
164-
* Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING or
165-
* PORTAL_UTIL_SELECT query. (A cursor held past the end of its
166-
* transaction no longer has any active executor state.)
164+
* Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING,
165+
* PORTAL_ONE_MOD_WITH, or PORTAL_UTIL_SELECT query. (A cursor held past
166+
* the end of its transaction no longer has any active executor state.)
167167
*/
168168
Tuplestorestate *holdStore; /* store for holdable cursors */
169169
MemoryContext holdContext; /* memory containing holdStore */

0 commit comments

Comments
 (0)