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 1f961e2 commit 61ceaf9Copy full SHA for 61ceaf9
testgres/testgres.py
@@ -1037,7 +1037,7 @@ def get_pg_config():
1037
global pg_config_data
1038
1039
if not pg_config_data:
1040
- pg_config_cmd = os.environ["PG_CONFIG"] or "pg_config"
+ pg_config_cmd = os.environ.get("PG_CONFIG") or "pg_config"
1041
1042
out = six.StringIO(subprocess.check_output([pg_config_cmd],
1043
universal_newlines=True))
0 commit comments