diff options
author | Etsuro Fujita <efujita@postgresql.org> | 2024-08-01 17:45:06 +0900 |
---|---|---|
committer | Etsuro Fujita <efujita@postgresql.org> | 2024-08-01 17:45:06 +0900 |
commit | 4c61a3a46817c90e8f58ae56b001ce20e3fa1f0b (patch) | |
tree | da8f281d9a118495df49c7176df3f0578c8b81ff /src | |
parent | 5f851b8bd070c599e537cc8a09a237b2a42f2fbc (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
Diffstat (limited to 'src')
-rw-r--r-- | src/include/utils/portal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h index 46c482d6437..5516084afaa 100644 --- a/src/include/utils/portal.h +++ b/src/include/utils/portal.h @@ -169,9 +169,9 @@ typedef struct PortalData Snapshot portalSnapshot; /* active snapshot, or NULL if none */ /* - * 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 */ |