aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-02-07 09:42:31 +0900
committerMichael Paquier <michael@paquier.xyz>2025-02-07 09:42:31 +0900
commit428fadb7e97e3c95180d75dea73de99c491a9f65 (patch)
treefbefb93fb1120759915ed9d64d8cc2ef3599449a /src/backend/executor/execParallel.c
parent401a6956fa69c9202cbc14c09ba8a9c430b90cac (diff)
downloadpostgresql-428fadb7e97e3c95180d75dea73de99c491a9f65.tar.gz
postgresql-428fadb7e97e3c95180d75dea73de99c491a9f65.zip
Move SQL tests of pg_stat_io for WAL data to recovery test 029_stats_restart
Three tests in the main regression test suite are proving to not be portable across multiple runs on a deployed cluster as stats of pg_stat_io are reset. Problems happen for tests on: - Writes of WAL in the init context, when creating a WAL segment. - Syncs of WAL in the init context, when creating a WAL segment. - Reads of WAL in the normal context, requiring a WAL record to be read. For a `make check`, this could rely on the checkpoint record read by the startup process when starting the cluster, something that is not going to work for a deployed node. Two of the three tests are moved to the recovery TAP test 029_stats_restart, where we already check the consistency of stats data. The test for syncs is dropped as TAP can run with fsync=off. The other two are checked with some data from a freshly-initialized cluster. Per discussion with Tom Lane, Bertrand Drouvot and Nazir Bilal Yavuz. Discussion: https://postgr.es/m/915687.1738780322@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions