]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
docs: document the version when TransactionTimeout was added
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 11 Oct 2024 00:29:30 +0000 (02:29 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 11 Oct 2024 00:29:30 +0000 (02:29 +0200)
docs/api/errors.rst
docs/release.rst

index f51ed78eb74458a21141bbadbec7e0f649001adf..10301867f3043f00fe35f1f7a0e50b0a811a24b4 100644 (file)
@@ -540,5 +540,7 @@ SQLSTATE  Exception                                          Base exception
 .. autogenerated: end
 
 .. versionadded:: 3.1.4
-    Exception `!SqlJsonItemCannotBeCastToTargetType`, introduced in PostgreSQL
-    15.
+    Exception `!SqlJsonItemCannotBeCastToTargetType`, introduced in PostgreSQL 15.
+
+.. versionadded:: 3.2.3
+    Exception `!TransactionTimeout`, introduced in PostgreSQL 17.
index fb384d91a72176948f9773224a0b6ba7a8c590dd..14176756be80b893cf72cb8fba2fca47e018658b 100644 (file)
@@ -66,6 +66,9 @@ When a new PostgreSQL major version is released
 - Add the new version to ``tools/update_errors.py`` and run the script to add
   new error classes.
 
+- If the script above found any change, document the version added at the
+  bottom of ``docs/api/errors.rst``.
+
 - Run the script ``tools/update_oids.py`` to add new oids. Use ``-h`` to get
   an example docker command line to run a server locally.