summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/errorcodes.rst2
-rwxr-xr-xscripts/make_errorcodes.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/errorcodes.rst b/doc/src/errorcodes.rst
index f659023..d662d0c 100644
--- a/doc/src/errorcodes.rst
+++ b/doc/src/errorcodes.rst
@@ -50,7 +50,7 @@ An example of the available constants defined in the module:
'42P01'
Constants representing all the error values defined by PostgreSQL versions
-between 8.1 and 9.3 are included in the module.
+between 8.1 and 9.4 are included in the module.
.. autofunction:: lookup(code)
diff --git a/scripts/make_errorcodes.py b/scripts/make_errorcodes.py
index 8a8d54d..d6e2533 100755
--- a/scripts/make_errorcodes.py
+++ b/scripts/make_errorcodes.py
@@ -31,6 +31,7 @@ def main():
filename = sys.argv[1]
file_start = read_base_file(filename)
+ # If you add a version to the list fix the docs (errorcodes.rst, err.rst)
classes, errors = fetch_errors(
['8.1', '8.2', '8.3', '8.4', '9.0', '9.1', '9.2', '9.3', '9.4'])