summaryrefslogtreecommitdiff
path: root/src/include/utils/backend_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/backend_status.h')
-rw-r--r--src/include/utils/backend_status.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/utils/backend_status.h b/src/include/utils/backend_status.h
index b582b46e9f..e076adcaa8 100644
--- a/src/include/utils/backend_status.h
+++ b/src/include/utils/backend_status.h
@@ -266,6 +266,17 @@ typedef struct LocalPgBackendStatus
* not.
*/
TransactionId backend_xmin;
+
+ /*
+ * Number of cached subtransactions in the current session.
+ */
+ int backend_subxact_count;
+
+ /*
+ * The number of subtransactions in the current session exceeded the cached
+ * subtransaction limit.
+ */
+ bool backend_subxact_overflowed;
} LocalPgBackendStatus;