MCPcopy Create free account
hub / github.com/wal-e/wal-e / pg_version

Method pg_version

wal_e/worker/pg/psql_worker.py:156–164  ·  view source on GitHub ↗

Get a very informative version string from Postgres Includes minor version, major version, and architecture, among other details.

(cls)

Source from the content-addressed store, hash-verified

154
155 @classmethod
156 def pg_version(cls):
157 """
158 Get a very informative version string from Postgres
159
160 Includes minor version, major version, and architecture, among
161 other details.
162
163 """
164 return cls._dict_transform(psql_csv_run('SELECT * FROM version()'))

Callers 1

database_backupMethod · 0.45

Calls 2

psql_csv_runFunction · 0.85
_dict_transformMethod · 0.80

Tested by

no test coverage detected