summaryrefslogtreecommitdiff
path: root/scripts/make_errors.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: upgrade error codes to PostgreSQL 15Daniele Varrazzo2022-10-061-1/+1
|
* errorcodes map and errors classes updated to PostgreSQL 14.Daniele Varrazzo2021-11-111-1/+1
|
* Copyright year updated to 2021Daniele Varrazzo2021-06-151-1/+1
| | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*Psycopg Team.*\)/\1-$(date +%Y)\3/I"
* Merge branch 'master' into rm-2.7Daniele Varrazzo2021-05-201-1/+1
|\
| * docs: fix a few simple typosTim Gates2021-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are small typos in: - doc/src/faq.rst - psycopg/cursor_type.c - psycopg/xid_type.c - scripts/make_errorcodes.py - scripts/make_errors.py - tests/dbapi20.py - tests/test_connection.py Fixes: - Should read `publicly` rather than `publically`. - Should read `unicode` rather than `uniconde`. - Should read `supposed` rather than `suppsed`. - Should read `something` rather than `somenthing`. - Should read `portable` rather than `portible`. - Should read `exhausted` rather than `exausted`. - Should read `compliance` rather than `compiliance`. Closes #1275
* | Upgrade f-strings with flyntHugo van Kemenade2020-11-171-6/+4
| |
* | Upgrade Python syntax with pyupgrade --py36-plusHugo van Kemenade2020-11-171-2/+1
|/
* Errors mapping updated to PostgreSQL 13Daniele Varrazzo2020-09-051-1/+1
|
* Errors fetch scripts ported to Python 3Daniele Varrazzo2020-09-051-4/+4
|
* Copyright bumped to 2020Daniele Varrazzo2020-01-171-0/+1
|
* Added Postgres 12 errorsDaniele Varrazzo2019-10-191-1/+1
|
* Copyright year updatedDaniele Varrazzo2019-02-171-1/+1
| | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I"
* SQLSTATE error classes implemented in CDaniele Varrazzo2019-02-101-97/+6
| | | | The module is only used to export them to Python.
* Dropped duplicate classes in errors moduleDaniele Varrazzo2018-10-231-4/+24
| | | | Also using a more compact class registration using a decorator
* Errors module content updated to Postgres 11Daniele Varrazzo2018-10-141-1/+1
|
* Generating the whole errors file from scriptDaniele Varrazzo2018-08-171-0/+210