Fix bug in the get_guc_value() (#1712)

The `-D` parameter was forgotten.
This commit is contained in:
Alexander Kukushkin
2020-09-23 13:33:54 +02:00
committed by GitHub
parent 8a8409999d
commit fa6c396589
+1 -1
View File
@@ -700,7 +700,7 @@ class Postgresql(object):
return True
def get_guc_value(self, name):
cmd = [self.pgcommand('postgres'), self._data_dir, '-C', name]
cmd = [self.pgcommand('postgres'), '-D', self._data_dir, '-C', name]
try:
data = subprocess.check_output(cmd)
if data: