pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows
Date: Mon, 22 Mar 2021 00:52:08 +0000
Message-ID: <E1lO8ng-00082F-Cu@gemulon.postgresql.org> (raw)

Fix new TAP test for 2PC transactions and PITRs on Windows

The test added by 595b9cb forgot that on Windows it is necessary to set
up pg_hba.conf (see PostgresNode::set_replication_conf) with a specific
entry or base backups fail.  Any node that requires to support
replication just needs to pass down allows_streaming at initialization.
This updates the test to do so.  Simplify things a bit while on it.

Per buildfarm member fairywren.  Any Windows hosts running this test
would have failed, and I have reproduced the problem as well.

Backpatch-through: 10

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/992d353a190c551db39bcab2dec0ecf14fbc7a40

Modified Files
--------------
src/test/recovery/t/023_pitr_prepared_xact.pl | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1lO8ng-00082F-Cu@gemulon.postgresql.org>
Permalink:  ../E1lO8ng-00082F-Cu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lO8ng-00082F-Cu@gemulon.postgresql.org

 · 

reply

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 new TAP test for 2PC transactions and PITRs on Windows
  In-Reply-To: <E1lO8ng-00082F-Cu@gemulon.postgresql.org>
  References: <E1lO8ng-00082F-Cu@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