diff options
author | Etsuro Fujita | 2024-08-01 08:45:09 +0000 |
---|---|---|
committer | Etsuro Fujita | 2024-08-01 08:45:09 +0000 |
commit | fba830573335bf767fb1d92a9a9ef86c6f791044 (patch) | |
tree | de79e294880f5b89a9922acc618cfb109bc4e08f | |
parent | 41fb45a482a4643e5ed44aa66f52f1512cb57ce3 (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
-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 3c30ccbc6f8..615d1e3e5be 100644 --- a/src/include/utils/portal.h +++ b/src/include/utils/portal.h @@ -159,9 +159,9 @@ typedef struct PortalData int16 *formats; /* a format code for each column */ /* - * 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 */ |