pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows @ 2021-03-22 00:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2021-03-22 00:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows @ 2021-03-22 00:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2021-03-22 00:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7bdc717a5438650c13b7dcde427828eb1743fd8c Modified Files -------------- src/test/recovery/t/023_pitr_prepared_xact.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows @ 2021-03-22 00:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2021-03-22 00:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c0849e41322d4e791e78a3990f8f3ccc437c8006 Modified Files -------------- src/test/recovery/t/023_pitr_prepared_xact.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows @ 2021-03-22 00:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2021-03-22 00:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/66bd6fcf82540b714de3a7aded3e940dc17bd1bc Modified Files -------------- src/test/recovery/t/023_pitr_prepared_xact.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows @ 2021-03-22 00:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 5+ messages in thread From: Michael Paquier @ 2021-03-22 00:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6864adc70ed28b097cb1752a6de215b0bc5e03d9 Modified Files -------------- src/test/recovery/t/023_pitr_prepared_xact.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2021-03-22 00:52 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-03-22 00:52 pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows Michael Paquier <michael@paquier.xyz> 2021-03-22 00:52 pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows Michael Paquier <michael@paquier.xyz> 2021-03-22 00:52 pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows Michael Paquier <michael@paquier.xyz> 2021-03-22 00:52 pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows Michael Paquier <michael@paquier.xyz> 2021-03-22 00:52 pgsql: Fix new TAP test for 2PC transactions and PITRs on Windows Michael Paquier <michael@paquier.xyz>
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