You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-11-25 23:02:08 +02:00
fix ptrack
This commit is contained in:
@@ -170,7 +170,8 @@ class ProbackupTest(object):
|
|||||||
|
|
||||||
node = testgres.get_new_node('test', base_dir=real_base_dir)
|
node = testgres.get_new_node('test', base_dir=real_base_dir)
|
||||||
node.should_rm_base_dir = True
|
node.should_rm_base_dir = True
|
||||||
node.init(initdb_params=initdb_params)
|
|
||||||
|
node.init(initdb_params=initdb_params, allow_streaming=set_replication)
|
||||||
|
|
||||||
# Sane default parameters, not a shit with fsync = off from testgres
|
# Sane default parameters, not a shit with fsync = off from testgres
|
||||||
node.append_conf("postgresql.auto.conf", "shared_buffers = 10MB")
|
node.append_conf("postgresql.auto.conf", "shared_buffers = 10MB")
|
||||||
@@ -192,9 +193,9 @@ class ProbackupTest(object):
|
|||||||
if set_replication:
|
if set_replication:
|
||||||
try:
|
try:
|
||||||
node.set_replication_conf()
|
node.set_replication_conf()
|
||||||
|
node.append_conf("postgresql.auto.conf", "max_wal_senders = 10")
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
node.append_conf("postgresql.auto.conf", "max_wal_senders = 10")
|
|
||||||
return node
|
return node
|
||||||
|
|
||||||
def create_tblspace_in_node(self, node, tblspc_name, cfs=False):
|
def create_tblspace_in_node(self, node, tblspc_name, cfs=False):
|
||||||
|
|||||||
Reference in New Issue
Block a user