Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee441ca

Browse files
get_pg_config2 is updated
1 parent56ae1a8 commitee441ca

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎testgres/utils.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,15 @@ def cache_pg_config_data(cmd):
185185
return_pg_config_data
186186

187187
# try specified pg_config path or PG_CONFIG
188+
ifpg_config_path:
189+
returncache_pg_config_data(pg_config_path)
190+
188191
ifisinstance(os_ops,RemoteOperations):
189-
pg_config=pg_config_pathoros.environ.get("PG_CONFIG_REMOTE")oros.environ.get("PG_CONFIG")
192+
pg_config=os.environ.get("PG_CONFIG_REMOTE")oros.environ.get("PG_CONFIG")
190193
else:
191194
# try PG_CONFIG - get from local machine
192-
pg_config=pg_config_pathoros.environ.get("PG_CONFIG")
195+
pg_config=os.environ.get("PG_CONFIG")
196+
193197
ifpg_config:
194198
returncache_pg_config_data(pg_config)
195199

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp