aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/pgstat_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/pgstat_internal.h')
-rw-r--r--src/include/utils/pgstat_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/utils/pgstat_internal.h b/src/include/utils/pgstat_internal.h
index f6031995a9d..e21ef4e2c98 100644
--- a/src/include/utils/pgstat_internal.h
+++ b/src/include/utils/pgstat_internal.h
@@ -200,6 +200,12 @@ typedef struct PgStat_KindInfo
uint32 shared_size;
/*
+ * The offset of the statistics struct in the containing shared memory
+ * control structure PgStat_ShmemControl, for fixed-numbered statistics.
+ */
+ uint32 shared_ctl_off;
+
+ /*
* The offset/size of statistics inside the shared stats entry. Used when
* [de-]serializing statistics to / from disk respectively. Separate from
* shared_size because [de-]serialization may not include in-memory state