MCPcopy Index your code
hub / github.com/dbcli/pgcli / is_connection_closed

Method is_connection_closed

pgcli/pgexecute.py:304–305  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

302 return status == psycopg.pq.TransactionStatus.ACTIVE or status == psycopg.pq.TransactionStatus.INTRANS
303
304 def is_connection_closed(self):
305 return self.conn.info.transaction_status == psycopg.pq.TransactionStatus.UNKNOWN
306
307 @property
308 def transaction_indicator(self):

Callers 1

transaction_indicatorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected