summaryrefslogtreecommitdiff
path: root/scripts/make_errorcodes.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-10-14 22:57:01 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-10-14 22:57:48 +0100
commit7a5edff6c66a0410d6fecd4445980aabafc3ab4a (patch)
tree0fdff3308ea7a2f20335b9ac39b35ee64bf025c3 /scripts/make_errorcodes.py
parent795522ff2b89778ad4766011ca0bedf6f50b838d (diff)
downloadpsycopg2-7a5edff6c66a0410d6fecd4445980aabafc3ab4a.tar.gz
errorcodes map update to PostgreSQL 11
Diffstat (limited to 'scripts/make_errorcodes.py')
-rwxr-xr-xscripts/make_errorcodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make_errorcodes.py b/scripts/make_errorcodes.py
index d85e6b8..1b3f594 100755
--- a/scripts/make_errorcodes.py
+++ b/scripts/make_errorcodes.py
@@ -36,7 +36,7 @@ def main():
# If you add a version to the list fix the docs (in errorcodes.rst)
classes, errors = fetch_errors(
['8.1', '8.2', '8.3', '8.4', '9.0', '9.1', '9.2', '9.3', '9.4', '9.5',
- '9.6', '10'])
+ '9.6', '10', '11'])
f = open(filename, "w")
for line in file_start:
@@ -155,7 +155,7 @@ def fetch_errors(versions):
# TODO: this error was added in PG 10 beta 1 but dropped in the
# final release. It doesn't harm leaving it in the file. Check if it
- # will be added back in PG 11.
+ # will be added back in PG 12.
# https://github.com/postgres/postgres/commit/28e0727076
errors['55']['55P04'] = 'UNSAFE_NEW_ENUM_VALUE_USAGE'