From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Additional tests for subtransactions in recovery |
Date: | 2017-04-27 12:41:47 |
Message-ID: | CAB7nPqT5mFg=5=cPN0x1xbR_HOE=HFZeS4J=2C__MxRX6VBceg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Thu, Apr 27, 2017 at 9:28 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> Additional tests for subtransactions in recovery
>
> Tests for normal and prepared transactions
>
> Author: Nikhil Sontakke, placed in new test file by me
+$node_slave->promote;
+$node_slave->poll_query_until('postgres',
+ "SELECT NOT pg_is_in_recovery()")
+ or die "Timed out while waiting for promotion of standby";
This reminds me that we should really switch PostgresNode::promote to
use the wait mode of pg_ctl promote, and remove all those polling
queries...
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2017-04-27 12:43:03 | pgsql: Rework handling of subtransactions in 2PC recovery |
Previous Message | Simon Riggs | 2017-04-27 12:28:40 | pgsql: Additional tests for subtransactions in recovery |
From | Date | Subject | |
---|---|---|---|
Next Message | Rahila Syed | 2017-04-27 12:49:44 | Re: Adding support for Default partition in partitioning |
Previous Message | Simon Riggs | 2017-04-27 12:28:40 | pgsql: Additional tests for subtransactions in recovery |