From f751c272081c6c078bdfc59e771276fca6a108c7 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sun, 24 Aug 2014 22:04:43 +0100 Subject: [PATCH] Document we known 9.4 errorcodes --- doc/src/errorcodes.rst | 2 +- scripts/make_errorcodes.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/errorcodes.rst b/doc/src/errorcodes.rst index f659023d..d662d0c8 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 8a8d54df..d6e25337 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'])