pgsql: Try to harden insert-conflict-specconflict against autovacuum.
pgsql: Try to harden insert-conflict-specconflict against autovacuum.
От:
Andres Freund <andres@anarazel.de>
Дата:
Try to harden insert-conflict-specconflict against autovacuum. Looks like guaibasaurus had a autovacuum running during the controller_print_speculative_locks step (just added in 43e08419708). Which does indeed seem quite possible. Avoid the problem by only looking for the backends participating in the test. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/997563dfcb2501a7a199589cd6f15f2bb8af3d04 Modified Files -------------- .../isolation/expected/insert-conflict-specconflict.out | 15 ++++++++++++--- .../isolation/specs/insert-conflict-specconflict.spec | 5 ++++- 2 files changed, 16 insertions(+), 4 deletions(-)