mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-17 01:20:32 +03:00
Typo/tenso fixed.
This commit is contained in:
parent
593cd20b4a
commit
4bd8f8c76b
|
@ -158,10 +158,10 @@ The ``connection`` class
|
||||||
this method is used outside of a TPC transaction.
|
this method is used outside of a TPC transaction.
|
||||||
|
|
||||||
After calling `!tpc_prepare()`, no statements can be executed until
|
After calling `!tpc_prepare()`, no statements can be executed until
|
||||||
`~connection.tpc_commit()` or `~connection.tpc_rollback()` have been
|
`~connection.tpc_commit()` or `~connection.tpc_rollback()` will be
|
||||||
called. The `~connection.reset()` method can be used to restore the
|
called. The `~connection.reset()` method can be used to restore the
|
||||||
status of the connection to `~psycopg2.extensions.STATUS_READY`: the
|
status of the connection to `~psycopg2.extensions.STATUS_READY`: the
|
||||||
transaction will remained prepared in the database and will be
|
transaction will remain prepared in the database and will be
|
||||||
possible to finish it with `!tpc_commit(xid)` and
|
possible to finish it with `!tpc_commit(xid)` and
|
||||||
`!tpc_rollback(xid)`.
|
`!tpc_rollback(xid)`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user