From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix test_session_hooks with parallel workers
Date: Tue, 01 Oct 2019 06:31:35 +0000
Message-ID: <E1iFBh9-00026T-5z@gemulon.postgresql.org> (raw)
Fix test_session_hooks with parallel workers
Several buildfarm machines have been complaining about the new module
test_session_hooks to be unstable, like crake and thorntail. The issue
was that the module was trying to log some start and end session
activity for parallel workers, which makes little sense as they don't
support DML, so just prevent this pattern to happen in the module.
This could be reproduced by enforcing force_parallel_mode=regress, which
is the value used by some of the buildfarm members.
Discussion: https://postgr.es/m/20191001045246.GF2781@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/002962dc7293043126561b0d0df79d6c76251804
Modified Files
--------------
src/test/modules/test_session_hooks/test_session_hooks.c | 9 +++++++++
1 file changed, 9 insertions(+)
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: michael@paquier.xyz
Subject: Re: pgsql: Fix test_session_hooks with parallel workers
In-Reply-To: <E1iFBh9-00026T-5z@gemulon.postgresql.org>
References: <E1iFBh9-00026T-5z@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