]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
docs: declare PostgreSQL 15 supported
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 6 Oct 2022 01:55:24 +0000 (02:55 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 20 Oct 2022 19:21:02 +0000 (21:21 +0200)
docs/api/errors.rst
docs/basic/install.rst

index c0bc5b2678552ab7b1ec8de9c79b02b927de8fd2..2fca7c6b284a8e5467bbdfc6b17f404cc43c9596 100644 (file)
@@ -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 <dbapi-exceptions>`, thus exposing the `~psycopg.Error` interface.
 
+.. versionchanged:: 3.1.4
+    Added exceptions introduced in PostgreSQL 15.
 
 .. autofunction:: lookup
 
index cf66c93b31f8d5995748cc839de7bd82bbf84e63..3b25b8fed2ef12cfacfeadb1c6c8c21787036379 100644 (file)
@@ -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.