aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2020-04-13 15:31:16 +0530
committerAmit Kapila <akapila@postgresql.org>2020-04-13 15:31:16 +0530
commitef08ca113fe302b9ddf298964756eadcd41e77a1 (patch)
treef3c297266d3d06544fea93ba6ac9ca9ba0f06778 /src/backend/executor
parent0c620a5803afbb667da7ac4bcc91b245a214a80c (diff)
downloadpostgresql-ef08ca113fe302b9ddf298964756eadcd41e77a1.tar.gz
postgresql-ef08ca113fe302b9ddf298964756eadcd41e77a1.zip
Cosmetic fixups for WAL usage work.
Reported-by: Justin Pryzby and Euler Taveira Author: Justin Pryzby and Julien Rouhaud Reviewed-by: Amit Kapila Discussion: https://postgr.es/m/CAB-hujrP8ZfUkvL5OYETipQwA=e3n7oqHFU=4ZLxWS_Cza3kQQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/instrument.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/instrument.c b/src/backend/executor/instrument.c
index 3b9c6aebb92..7c9d7235526 100644
--- a/src/backend/executor/instrument.c
+++ b/src/backend/executor/instrument.c
@@ -248,7 +248,7 @@ WalUsageAdd(WalUsage *dst, WalUsage *add)
{
dst->wal_bytes += add->wal_bytes;
dst->wal_records += add->wal_records;
- dst->wal_num_fpw += add->wal_num_fpw;
+ dst->wal_fpw += add->wal_fpw;
}
void
@@ -256,5 +256,5 @@ WalUsageAccumDiff(WalUsage *dst, const WalUsage *add, const WalUsage *sub)
{
dst->wal_bytes += add->wal_bytes - sub->wal_bytes;
dst->wal_records += add->wal_records - sub->wal_records;
- dst->wal_num_fpw += add->wal_num_fpw - sub->wal_num_fpw;
+ dst->wal_fpw += add->wal_fpw - sub->wal_fpw;
}