diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2020-09-05 20:24:19 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2020-09-05 20:26:19 +0100 |
| commit | dd1724c44789df3b1ce84e7ae5b6cfe5675c689b (patch) | |
| tree | f270cb6359095159dffaf0923931c1f6ac6d05a5 /doc/src/errors.rst | |
| parent | c203d681c4503c4d554ce114fea66c4999e2f7a3 (diff) | |
| download | psycopg2-dd1724c44789df3b1ce84e7ae5b6cfe5675c689b.tar.gz | |
Errors mapping updated to PostgreSQL 13
Diffstat (limited to 'doc/src/errors.rst')
| -rw-r--r-- | doc/src/errors.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/errors.rst b/doc/src/errors.rst index f2871d9..d1aed13 100644 --- a/doc/src/errors.rst +++ b/doc/src/errors.rst @@ -12,11 +12,13 @@ .. versionchanged:: 2.8.4 added errors introduced in PostgreSQL 12 +.. versionchanged:: 2.8.6 added errors introduced in PostgreSQL 13 + This module exposes the classes psycopg raises upon receiving an error from the database with a :sql:`SQLSTATE` value attached (available in the `~psycopg2.Error.pgcode` attribute). The content of the module is generated from the PostgreSQL source code and includes classes for every error defined -by PostgreSQL in versions between 9.1 and 12. +by PostgreSQL in versions between 9.1 and 13. Every class in the module is named after what referred as "condition name" `in the documentation`__, converted to CamelCase: e.g. the error 22012, |
