diff options
author | Amit Kapila | 2020-05-05 02:30:53 +0000 |
---|---|---|
committer | Amit Kapila | 2020-05-05 02:30:53 +0000 |
commit | 69bfaf2e1de49de76d7dec1c45511932a5ef502b (patch) | |
tree | e9ff414948222324edbb33f0f603ee4800e218bd /src/include/executor | |
parent | 5545b69ae65f27ba1f4ceaf24486e98c186e9412 (diff) |
Change the display of WAL usage statistics in Explain.
In commit 33e05f89c5, we have added the option to display WAL usage
statistics in Explain and auto_explain. The display format used two spaces
between each field which is inconsistent with Buffer usage statistics which
is using one space between each field. Change the format to make WAL usage
statistics consistent with Buffer usage statistics.
This commit also changed the usage of "full page writes" to
"full page images" for WAL usage statistics to make it consistent with
other parts of code and docs.
Author: Julien Rouhaud, Amit Kapila
Reviewed-by: Justin Pryzby, Kyotaro Horiguchi and Amit Kapila
Discussion: https://postgr.es/m/CAB-hujrP8ZfUkvL5OYETipQwA=e3n7oqHFU=4ZLxWS_Cza3kQQ@mail.gmail.com
Diffstat (limited to 'src/include/executor')
-rw-r--r-- | src/include/executor/instrument.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/executor/instrument.h b/src/include/executor/instrument.h index 50d672b270d..a97562e7a4f 100644 --- a/src/include/executor/instrument.h +++ b/src/include/executor/instrument.h @@ -35,7 +35,7 @@ typedef struct BufferUsage typedef struct WalUsage { long wal_records; /* # of WAL records produced */ - long wal_fpw; /* # of WAL full page writes produced */ + long wal_fpi; /* # of WAL full page images produced */ uint64 wal_bytes; /* size of WAL records produced */ } WalUsage; |