mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 09:24:07 +03:00
Minor spelling and grammar corrections for 195b254
This commit is contained in:
parent
b203be11a6
commit
171371da5a
|
@ -750,10 +750,10 @@ until a call to the `~connection.rollback()` method.
|
||||||
|
|
||||||
The connection is responsible for terminating its transaction, calling either
|
The connection is responsible for terminating its transaction, calling either
|
||||||
the `~connection.commit()` or `~connection.rollback()` method. Committed
|
the `~connection.commit()` or `~connection.rollback()` method. Committed
|
||||||
changes are immediately made persistent into the database. If he connection
|
changes are immediately made persistent in the database. If the connection
|
||||||
is closed (using the `~connection.close()` method) or destroyed (using `!del`
|
is closed (using the `~connection.close()` method) or destroyed (using `!del`
|
||||||
or letting it falling out of scope) while a transaction is in progress, the
|
or by letting it fall out of scope) while a transaction is in progress, the
|
||||||
server will discard the transaction. However doing so is not adviceable:
|
server will discard the transaction. However doing so is not advisable:
|
||||||
middleware such as PgBouncer_ may see the connection closed uncleanly and
|
middleware such as PgBouncer_ may see the connection closed uncleanly and
|
||||||
dispose of it.
|
dispose of it.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user