diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-18 15:40:31 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-18 15:40:31 -0400 |
commit | 80e373c3a8c43812bdc98fe0d433b9990acce5ad (patch) | |
tree | 558f7ba017b0c03cc6dc9dea45988ff3f109f2a4 /src/backend/executor/functions.c | |
parent | 4a9c30a8a1d3a786abc4b8d95f0182463f66f919 (diff) | |
download | postgresql-80e373c3a8c43812bdc98fe0d433b9990acce5ad.tar.gz postgresql-80e373c3a8c43812bdc98fe0d433b9990acce5ad.zip |
Fix statistics breakage from bgwriter/checkpointer process split.
ForwardFsyncRequest() supposed that it could only be called in regular
backends, which used to be true; but since the splitup of bgwriter and
checkpointer, it is also called in the bgwriter. We do not want to count
such calls in pg_stat_bgwriter.buffers_backend statistics, so fix things
so that they aren't.
(It's worth noting here that this implies an alarmingly large increase in
the expected amount of cross-process fsync request traffic, which may well
mean that the process splitup was not such a hot idea.)
Diffstat (limited to 'src/backend/executor/functions.c')
0 files changed, 0 insertions, 0 deletions