summaryrefslogtreecommitdiff
path: root/scripts/make_errors.py
AgeCommit message (Collapse)Author
2024-10-11chore: add TransactionTimeout error, added in PostgreSQL 17Daniele Varrazzo
Url to fetch source changed from the official Postgres one to the Github mirror because the former throttled us.
2022-10-06chore: upgrade error codes to PostgreSQL 15Daniele Varrazzo
2021-11-11errorcodes map and errors classes updated to PostgreSQL 14.Daniele Varrazzo
2021-06-15Copyright year updated to 2021Daniele Varrazzo
ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*Psycopg Team.*\)/\1-$(date +%Y)\3/I"
2021-05-20Merge branch 'master' into rm-2.7Daniele Varrazzo
2021-05-20docs: fix a few simple typosTim Gates
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
2020-11-17Upgrade f-strings with flyntHugo van Kemenade
2020-11-17Upgrade Python syntax with pyupgrade --py36-plusHugo van Kemenade
2020-09-05Errors mapping updated to PostgreSQL 13Daniele Varrazzo
2020-09-05Errors fetch scripts ported to Python 3Daniele Varrazzo
2020-01-17Copyright bumped to 2020Daniele Varrazzo
2019-10-19Added Postgres 12 errorsDaniele Varrazzo
2019-02-17Copyright year updatedDaniele Varrazzo
ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I"
2019-02-10SQLSTATE error classes implemented in CDaniele Varrazzo
The module is only used to export them to Python.
2018-10-23Dropped duplicate classes in errors moduleDaniele Varrazzo
Also using a more compact class registration using a decorator
2018-10-14Errors module content updated to Postgres 11Daniele Varrazzo
2018-08-17Generating the whole errors file from scriptDaniele Varrazzo