From: Daniele Varrazzo Date: Thu, 6 Oct 2022 01:55:24 +0000 (+0100) Subject: docs: declare PostgreSQL 15 supported X-Git-Tag: 3.1.4~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a93df4918a44539cb240dfe98e098de8bc7f5677;p=thirdparty%2Fpsycopg.git docs: declare PostgreSQL 15 supported --- diff --git a/docs/api/errors.rst b/docs/api/errors.rst index c0bc5b267..2fca7c6b2 100644 --- a/docs/api/errors.rst +++ b/docs/api/errors.rst @@ -154,7 +154,7 @@ in the database: locked = True The exception names are generated from the PostgreSQL source code and includes -classes for every error defined by PostgreSQL in versions between 9.6 and 14. +classes for every error defined by PostgreSQL in versions between 9.6 and 15. Every class in the module is named after what referred as "condition name" `in the documentation`__, converted to CamelCase: e.g. the error 22012, ``division_by_zero`` is exposed by this module as the class `!DivisionByZero`. @@ -167,6 +167,8 @@ the classes defined. Every exception class is a subclass of one of the :ref:`standard DB-API exception `, thus exposing the `~psycopg.Error` interface. +.. versionchanged:: 3.1.4 + Added exceptions introduced in PostgreSQL 15. .. autofunction:: lookup diff --git a/docs/basic/install.rst b/docs/basic/install.rst index cf66c93b3..3b25b8fed 100644 --- a/docs/basic/install.rst +++ b/docs/basic/install.rst @@ -23,7 +23,7 @@ The Psycopg version documented here has *official and tested* support for: - Python 3.6 supported before Psycopg 3.1 -- PostgreSQL: from version 10 to 14 +- PostgreSQL: from version 10 to 15 - OS: Linux, macOS, Windows The tests to verify the supported systems run in `Github workflows`__: @@ -35,7 +35,7 @@ anything that is not tested there is not officially supported. This includes: - Alternative PostgreSQL implementation; - macOS hardware and releases not available on Github workflows. -If you use an unsupported system things may work (because, for instance, the +If you use an unsupported system, things might work (because, for instance, the database may use the same wire protocol as PostgreSQL) but we cannot guarantee the correct working or a smooth ride.