aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execReplication.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2023-03-20 18:16:06 -0700
committerAndres Freund <andres@anarazel.de>2023-03-20 18:16:06 -0700
commitef719e7b32fc2ec9f78c2d9de099f7d75b61cd1b (patch)
tree4da086fa007a2c51d8b39c6116920b57111d84cd /src/backend/executor/execReplication.c
parent7730ceb43fe5ecaa2b3cb26eb0ed8ad2e18c2d46 (diff)
downloadpostgresql-ef719e7b32fc2ec9f78c2d9de099f7d75b61cd1b.tar.gz
postgresql-ef719e7b32fc2ec9f78c2d9de099f7d75b61cd1b.zip
Stabilize pg_stat_io writes test
Counting writes only for io_context = 'normal' is unreliable, as backends using a buffer access strategy could flush all of the dirty buffers out from under the other backends and checkpointer. Change the test to count writes in any context. This achieves roughly the same coverage anyway. Reported-by: Justin Pryzby <pryzby@telsasoft.com> Author: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://www.postgresql.org/message-id/ZAnWU8WbXEDjrfUE%40telsasoft.com
Diffstat (limited to 'src/backend/executor/execReplication.c')
0 files changed, 0 insertions, 0 deletions