MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / get_server_pid

Method get_server_pid

asyncpg/connection.py:258–260  ·  view source on GitHub ↗

Return the PID of the Postgres server the connection is bound to.

(self)

Source from the content-addressed store, hash-verified

256 self._query_loggers.discard(_Callback.from_callable(callback))
257
258 def get_server_pid(self):
259 """Return the PID of the Postgres server the connection is bound to."""
260 return self._protocol.get_server_pid()
261
262 def get_server_version(self):
263 """Return the version of the connected PostgreSQL server.

Calls

no outgoing calls