@@ -90,7 +90,7 @@ driver would never identify them as driver parameters.
9090
9191The general structure of a PQ-locator is::
9292
93- protocol://user:password@host:port/database?[driver_setting]=value&server_setting=value#schema,public
93+ protocol://user:password@host:port/database?[driver_setting]=value&server_setting=value
9494
9595Optionally, connection keyword arguments can be used to override anything given
9696in the locator::
@@ -295,7 +295,7 @@ used to interact with the database provided by the server. If further use of the
295295server is desired, a new connection *must* be established.
296296
297297.. note::
298- Cannot connect failures, exceptions raised on ``connect()``, are also terminal.
298+ Cannot connect failures, exceptions raised on ``connect()``, are also terminal.
299299
300300In cases where operations are performed on a closed connection, a
301301`postgresql.exceptions.ConnectionDoesNotExistError` will be raised.
@@ -806,9 +806,9 @@ Likewise, cursors created from statement invocations will be automatically
806806released when they are no longer referenced.
807807
808808.. note::
809- PG-API cursors are a direct interface to single result-set SQL cursors. This
810- is in contrast with DB-API cursors, which have interfaces for dealing with
811- multiple result-sets. There is no execute method on PG-API cursors.
809+ PG-API cursors are a direct interface to single result-set SQL cursors. This
810+ is in contrast with DB-API cursors, which have interfaces for dealing with
811+ multiple result-sets. There is no execute method on PG-API cursors.
812812
813813
814814Cursor Interface Points
@@ -1267,6 +1267,10 @@ instruction methods provided by `postgresql.api.Transaction` objects.
12671267Transaction Configuration
12681268-------------------------
12691269
1270+ .. warning::
1271+ **All transaction configuration arguments are being deprecated over the**
1272+ **next few versions of py-postgresql. Use should be discontinued**.
1273+
12701274Keyword arguments given to ``xact()`` provide the means for configuring the
12711275properties of the transaction. Only three points of configuration are available:
12721276
@@ -1314,11 +1318,11 @@ that change of state.
13141318 phase.
13151319
13161320 ``x.recover()``
1317- Identify the existence of the prepared transaction.
1321+ Identify the existence of the prepared transaction. (**Deprecated**)
13181322
13191323 ``x.prepare()``
13201324 Prepare the transaction for the final commit. Once prepared, the second commit
1321- may be ran to finalize the transaction, ``x.commit()``.
1325+ may be ran to finalize the transaction, ``x.commit()``. (**Deprecated**)
13221326
13231327These methods are primarily provided for applications that manage transactions
13241328in a way that cannot be formed around single, sequential blocks of code.
@@ -1374,6 +1378,10 @@ property on the raised exception.
13741378Prepared Transactions
13751379---------------------
13761380
1381+ .. warning::
1382+ **The two phase commit interfaces are being deprecated.**
1383+ **Use should be discontinued.**
1384+
13771385Transactions configured with the ``gid`` keyword will require two steps to fully
13781386commit the transaction. First, ``prepare()``, then ``commit()``. The prepare
13791387method will issue the necessary PREPARE TRANSACTION statement, and commit will
@@ -1458,6 +1466,10 @@ And ``update(...)`` is better performing for multiple sets:
14581466 ... 'default_statistics_target' : "1000"
14591467 ... })
14601468
1469+ ..note::
1470+ The ``transaction_isolation`` setting cannot be set using the ``settings``
1471+ mapping. Internally, ``settings`` uses ``set_config``, which cannot adjust
1472+ that particular setting.
14611473
14621474Settings Interface Points
14631475-------------------------
0 commit comments