Force synchronous commit to be enabled for all test_decoding tests.
Without that the tests fail when forced to be run against a cluster
with synchronous_commit = off (as the WAL might not yet be flushed to
disk by the point logical decoding gets called, and thus the expected
output breaks). Most tests already do that, add it to a few newer tests.
Author: Andres Freund
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ef493055b67d30393a71c59d6fcbc2bd406528c2
Modified Files
--------------
contrib/test_decoding/expected/truncate.out | 2 ++
contrib/test_decoding/specs/oldest_xmin.spec | 2 ++
contrib/test_decoding/specs/snapshot_transfer.spec | 2 ++
contrib/test_decoding/sql/truncate.sql | 3 +++
4 files changed, 9 insertions(+)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.