From 004507d579ab229d7cb6450b9af5e174ae0ce098 Mon Sep 17 00:00:00 2001 From: Daniel Fortunov Date: Sun, 6 Sep 2020 12:50:13 +0100 Subject: [PATCH] Minor spelling and grammar corrections for 195b254 --- doc/src/usage.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/usage.rst b/doc/src/usage.rst index 5239518c..0677a5bf 100644 --- a/doc/src/usage.rst +++ b/doc/src/usage.rst @@ -750,10 +750,10 @@ until a call to the `~connection.rollback()` method. The connection is responsible for terminating its transaction, calling either 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` -or letting it falling out of scope) while a transaction is in progress, the -server will discard the transaction. However doing so is not adviceable: +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 advisable: middleware such as PgBouncer_ may see the connection closed uncleanly and dispose of it.