summaryrefslogtreecommitdiff
path: root/src/backend/access/tablesample
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2021-03-12 14:23:00 +0900
committerFujii Masao <fujii@postgresql.org>2021-03-12 14:23:00 +0900
commitb82640df0062483431608b7e9e074255f03e6c02 (patch)
treeb10af10b42c1c04f24e1da75c35aeb34fb70539c /src/backend/access/tablesample
parent33394ee6f2433d3cc7785428a77cc9a813254df7 (diff)
Send statistics collected during shutdown checkpoint to the stats collector.
When shutdown is requested, checkpointer performs checkpoint or restartpoint, and updates the statistics, before it exits. But previously checkpointer didn't send those statistics to the stats collector. Shutdown checkpoint and restartpoint are treated as requested ones instead of scheduled ones, so the number of them are counted in pg_stat_bgwriter.checkpoints_req column. Author: Masahiro Ikeda Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/0509ad67b585a5b86a83d445dfa75392@oss.nttdata.com
Diffstat (limited to 'src/backend/access/tablesample')
0 files changed, 0 insertions, 0 deletions