Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc9d67 commit 94f9b35Copy full SHA for 94f9b35
setup.py
@@ -27,7 +27,7 @@
27
readme = f.read()
28
29
setup(
30
- version='1.8.7',
+ version='1.8.8',
31
name='testgres',
32
packages=['testgres'],
33
description='Testing utility for PostgreSQL and its extensions',
testgres/node.py
@@ -1593,8 +1593,10 @@ def make_simple(
1593
set_replication=False,
1594
ptrack_enable=False,
1595
initdb_params=[],
1596
- pg_options={}):
1597
-
+ pg_options={},
+ checksum=True):
1598
+ if checksum and '--data-checksums' not in initdb_params:
1599
+ initdb_params.append('--data-checksums')
1600
node = self.make_empty(base_dir)
1601
node.init(
1602
initdb_params=initdb_params, allow_streaming=set_replication)
0 commit comments