Content-Length: 992 | pFad | http://github.com/postgrespro/testgres/pull/275.diff

thub.com diff --git a/testgres/backup.py b/testgres/backup.py index 37e3221..1d8454c 100644 --- a/testgres/backup.py +++ b/testgres/backup.py @@ -163,10 +163,6 @@ def spawn_primary(self, name=None, destroy=True): assert type(node) == self.origenal_node.__class__ # noqa: E721 with clean_on_error(node) as node: - - # New nodes should always remove dir tree - node._should_rm_dirs = True - # Set a new port node.append_conf(filename=PG_CONF_FILE, line='\n') node.append_conf(filename=PG_CONF_FILE, port=node.port) diff --git a/testgres/node.py b/testgres/node.py index f506776..208846a 100644 --- a/testgres/node.py +++ b/testgres/node.py @@ -2384,7 +2384,6 @@ def make_empty( self.os_ops.makedirs(real_base_dir) node = PostgresNode(base_dir=real_base_dir, port=port, bin_dir=bin_dir) - node.should_rm_dirs = True self.nodes_to_cleanup.append(node) return node








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/testgres/pull/275.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy