Skip to content

Commit 56ae1a8

Browse files
get_pg_version2 is updated
1 parent a5d6df4 commit 56ae1a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testgres/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ def get_pg_version2(os_ops: OsOperations, bin_dir=None):
212212

213213
# Get raw version (e.g., postgres (PostgreSQL) 9.5.7)
214214
postgres_path = os.path.join(bin_dir, 'postgres') if bin_dir else get_bin_path2(os_ops, 'postgres')
215-
_params = [postgres_path, '--version']
216-
raw_ver = os_ops.exec_command(_params, encoding='utf-8')
215+
cmd = [postgres_path, '--version']
216+
raw_ver = os_ops.exec_command(cmd, encoding='utf-8')
217217

218218
return parse_pg_version(raw_ver)
219219

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy