File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -254,19 +254,15 @@ def _collect_special_files(self):
254
254
255
255
return result
256
256
257
- def init (self ,
258
- fsync = False ,
259
- unix_sockets = True ,
260
- allow_streaming = True ,
261
- initdb_params = None ):
257
+ def init (self , initdb_params = None , ** kwargs ):
262
258
"""
263
259
Perform initdb for this node.
264
260
265
261
Args:
262
+ initdb_params: parameters for initdb (list).
266
263
fsync: should this node use fsync to keep data safe?
267
264
unix_sockets: should we enable UNIX sockets?
268
265
allow_streaming: should this node add a hba entry for replication?
269
- initdb_params: parameters for initdb (list).
270
266
271
267
Returns:
272
268
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
281
288
282
return self
289
283
You can’t perform that action at this time.
0 commit comments