PG-1907 Add wal_buffers_full

Add wal_buffers_full value, same as was introduced in PGSS in commit ce5bcc4.
This commit is contained in:
Artem Gavrilov
2025-09-17 20:27:45 +02:00
committed by Artem Gavrilov
parent 9dad93b770
commit 9496937c9f
7 changed files with 253 additions and 13 deletions

View File

@@ -308,6 +308,7 @@ typedef struct Wal_Usage
int64 wal_records; /* # of WAL records generated */
int64 wal_fpi; /* # of WAL full page images generated */
uint64 wal_bytes; /* total amount of WAL bytes generated */
int64 wal_buffers_full; /* # of times the WAL buffers became full */
} Wal_Usage;
typedef struct Counters