mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Errors module content updated to Postgres 11
This commit is contained in:
parent
782fa39647
commit
61df7bdd8d
|
@ -325,6 +325,12 @@ class DivisionByZero(DataError):
|
|||
_by_sqlstate['22012'] = DivisionByZero
|
||||
|
||||
|
||||
class InvalidPrecedingOrFollowingSize(DataError):
|
||||
pass
|
||||
|
||||
_by_sqlstate['22013'] = InvalidPrecedingOrFollowingSize
|
||||
|
||||
|
||||
class InvalidArgumentForNtileFunction(DataError):
|
||||
pass
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ def main():
|
|||
file_start = read_base_file(filename)
|
||||
# If you add a version to the list fix the docs (in errors.rst)
|
||||
classes, errors = fetch_errors(
|
||||
['9.1', '9.2', '9.3', '9.4', '9.5', '9.6', '10'])
|
||||
['9.1', '9.2', '9.3', '9.4', '9.5', '9.6', '10', '11'])
|
||||
|
||||
f = open(filename, "w")
|
||||
for line in file_start:
|
||||
|
|
Loading…
Reference in New Issue
Block a user