Skip to content

Commit 94f9b35

Browse files
authored
PBCKP-634 test shorter make_node (#83)
1 parent 3cc9d67 commit 94f9b35

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
readme = f.read()
2828

2929
setup(
30-
version='1.8.7',
30+
version='1.8.8',
3131
name='testgres',
3232
packages=['testgres'],
3333
description='Testing utility for PostgreSQL and its extensions',

testgres/node.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,8 +1593,10 @@ def make_simple(
15931593
set_replication=False,
15941594
ptrack_enable=False,
15951595
initdb_params=[],
1596-
pg_options={}):
1597-
1596+
pg_options={},
1597+
checksum=True):
1598+
if checksum and '--data-checksums' not in initdb_params:
1599+
initdb_params.append('--data-checksums')
15981600
node = self.make_empty(base_dir)
15991601
node.init(
16001602
initdb_params=initdb_params, allow_streaming=set_replication)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy