We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8e5b09d commit2693dacCopy full SHA for 2693dac
testgres/node.py
@@ -254,19 +254,15 @@ def _collect_special_files(self):
254
255
returnresult
256
257
-definit(self,
258
-fsync=False,
259
-unix_sockets=True,
260
-allow_streaming=True,
261
-initdb_params=None):
+definit(self,initdb_params=None,**kwargs):
262
"""
263
Perform initdb for this node.
264
265
Args:
+ initdb_params: parameters for initdb (list).
266
fsync: should this node use fsync to keep data safe?
267
unix_sockets: should we enable UNIX sockets?
268
allow_streaming: should this node add a hba entry for replication?
269
- initdb_params: parameters for initdb (list).
270
271
Returns:
272
This instance of PostgresNode.
@@ -281,9 +277,7 @@ def init(self,
281
277
params=initdb_params)
282
278
283
279
# initialize default config files
284
-self.default_conf(fsync=fsync,
285
-unix_sockets=unix_sockets,
286
-allow_streaming=allow_streaming)
280
+self.default_conf(**kwargs)
287
288
returnself
289