MCPcopy
hub / github.com/psycopg/psycopg / _check_tpc

Method _check_tpc

psycopg/psycopg/_connection_base.py:696–699  ·  view source on GitHub ↗

Raise NotSupportedError if TPC is not supported.

(self)

Source from the content-addressed store, hash-verified

694 self._tpc = None
695
696 def _check_tpc(self) -> None:
697 """Raise NotSupportedError if TPC is not supported."""
698 # TPC supported on every supported PostgreSQL version.
699 pass

Callers 4

xidMethod · 0.95
_tpc_begin_genMethod · 0.95
tpc_recoverMethod · 0.45
tpc_recoverMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected