pgsql: Move some code from RewindTest into PostgresNode

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move some code from RewindTest into PostgresNode
Date: 2016-02-26 16:28:48
Message-ID: E1aZLG4-00049R-7D@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move some code from RewindTest into PostgresNode

Some code in the RewindTest test suite is more generally useful than
just for that suite, so put it where other test suites can reach it.

Some postgresql.conf parameters change their default values when a
cluster is initialized with 'allows_streaming' than the previous
behavior; most notably, autovacuum is no longer turned off.

(Also, we no longer call pg_ctl promote with -w, but that flag doesn't
actually do anything in promote so there's no behavior change.)

Author: Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/89ac7004dadf4116d9b180bb5ff64b64bfce94b1

Modified Files
--------------
src/bin/pg_rewind/RewindTest.pm | 19 ++---------
src/test/perl/PostgresNode.pm | 71 ++++++++++++++++++++++++++++++++++++-----
2 files changed, 65 insertions(+), 25 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-02-26 19:15:24 pgsql: Add a test framework for recovery
Previous Message Robert Haas 2016-02-26 11:08:10 pgsql: On second thought, disable parallelism for prepared statements.