mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
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
This commit is contained in:
parent
a292c98d62
commit
e66b32e43b
@ -170,9 +170,9 @@ typedef struct PortalData
|
|||||||
Snapshot portalSnapshot; /* active snapshot, or NULL if none */
|
Snapshot portalSnapshot; /* active snapshot, or NULL if none */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING or
|
* Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING,
|
||||||
* PORTAL_UTIL_SELECT query. (A cursor held past the end of its
|
* PORTAL_ONE_MOD_WITH, or PORTAL_UTIL_SELECT query. (A cursor held past
|
||||||
* transaction no longer has any active executor state.)
|
* the end of its transaction no longer has any active executor state.)
|
||||||
*/
|
*/
|
||||||
Tuplestorestate *holdStore; /* store for holdable cursors */
|
Tuplestorestate *holdStore; /* store for holdable cursors */
|
||||||
MemoryContext holdContext; /* memory containing holdStore */
|
MemoryContext holdContext; /* memory containing holdStore */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user