From: Daniele Varrazzo Date: Fri, 11 Oct 2024 00:29:30 +0000 (+0200) Subject: docs: document the version when TransactionTimeout was added X-Git-Tag: 3.2.4~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00c6625d4735b7fe774e517e87f7daadc41a82f6;p=thirdparty%2Fpsycopg.git docs: document the version when TransactionTimeout was added --- diff --git a/docs/api/errors.rst b/docs/api/errors.rst index f51ed78eb..10301867f 100644 --- a/docs/api/errors.rst +++ b/docs/api/errors.rst @@ -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. diff --git a/docs/release.rst b/docs/release.rst index fb384d91a..14176756b 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -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.