From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Try to harden insert-conflict-specconflict against autovacuum.
Date: Wed, 12 Feb 2020 05:19:01 +0000
Message-ID: <E1j1kQP-0005c9-Ed@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Try to harden insert-conflict-specconflict against autovacuum.
In-Reply-To: <E1j1kQP-0005c9-Ed@gemulon.postgresql.org>
References: <E1j1kQP-0005c9-Ed@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox