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.
2 parents 7bc6f0d + ff73600 commit b56c7cbCopy full SHA for b56c7cb
testgres/testgres.py
@@ -447,6 +447,15 @@ def start(self, params={}):
447
else:
448
print("Log file not found: %s", log_filename)
449
450
+ conf_filename = os.path.join(self.data_dir, 'postgresql.conf')
451
+ if os.path.exists(conf_filename):
452
+ print("\npostgresql.conf:\n----")
453
+ with open(conf_filename, 'r') as conffile:
454
+ text = conffile.readlines()[-1]
455
+ print(text)
456
+ else:
457
+ print("Configuration file not found: %s", conf_filename)
458
+
459
raise ClusterException("Couldn't start the new node")
460
461
self.working = True
0 commit comments