Document we known 9.4 errorcodes

This commit is contained in:
Daniele Varrazzo 2014-08-24 22:04:43 +01:00
parent b8b15637aa
commit c1da93a7b2
2 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ An example of the available constants defined in the module:
'42P01' '42P01'
Constants representing all the error values defined by PostgreSQL versions 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) .. autofunction:: lookup(code)

View File

@ -31,6 +31,7 @@ def main():
filename = sys.argv[1] filename = sys.argv[1]
file_start = read_base_file(filename) 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( classes, errors = fetch_errors(
['8.1', '8.2', '8.3', '8.4', '9.0', '9.1', '9.2', '9.3', '9.4']) ['8.1', '8.2', '8.3', '8.4', '9.0', '9.1', '9.2', '9.3', '9.4'])