summaryrefslogtreecommitdiff
path: root/scripts/make_errorcodes.py
Commit message (Collapse)AuthorAgeFilesLines
* Prefer https:// URLs when availableJon Dufresne2018-09-221-1/+1
|
* Drop 2to3 build step; make all code compatible with all PythonsJon Dufresne2017-12-111-1/+1
| | | | | | | | | | | | | | | | Make all library code compatible with both Python 2 and Python 3. Helps move to modern Python idioms. Can now write for Python 3 (with workarounds for Python 2) instead of the other way around. In the future, when it is eventually time to drop Python 2, the library will be in a better position to remove workarounds Added a very small comparability module compat.py where required. It includes definitions for: - text_type -- A type. str on Python 3. unicode on Python 2. - string_types -- A tuple. Contains only str on Python 3. Contains str & unicode on Python 2.
* Use print() function instead of print statement throughout projectJon Dufresne2017-12-101-4/+5
| | | | Forward compatible with newer Pythons.
* Parse PG 10 error codes from final versionDaniele Varrazzo2017-10-191-7/+12
|
* Error codes updated to PG 10 beta 1Daniele Varrazzo2017-06-051-5/+9
|
* errcodes updated to PG 9.6Daniele Varrazzo2017-06-051-1/+2
|
* Python source cleanup using flake8Daniele Varrazzo2016-10-111-9/+14
|
* errorcodes map updated to PostgreSQL 9.5.Daniele Varrazzo2016-07-011-1/+1
|
* Dropped creation of errcodes with missing spec fieldDaniele Varrazzo2014-08-281-8/+3
| | | | | On further inspection these names are just aliases for values already defined: we don't need the duplication.
* Document we known 9.4 errorcodesDaniele Varrazzo2014-08-241-0/+1
|
* Scrape PostgreSQL 9.4 error codes table tooDaniele Varrazzo2014-08-131-1/+1
| | | | No new error code found as of 9.4 beta2.
* Parse errocodes for PG 9.3 tooDaniele Varrazzo2014-07-311-1/+1
| | | | | There is no new errcode defined so no need to release this as a change, only change the docs.
* Parse the error codes from the text file if availableDaniele Varrazzo2014-07-311-3/+54
| | | | | The text file was added in PG 9.1. It contains a few errors not available in the SGML.
* cleanup remaining GPL license textChris Mildebrandt2014-05-201-8/+8
|
* errorcodes map updated to PostgreSQL 9.2Daniele Varrazzo2012-09-211-1/+2
|
* make_errorcodes updated to the current page styleDaniele Varrazzo2011-12-161-10/+6
|
* errorcodes map updated to PostgreSQL 9.1Daniele Varrazzo2011-08-221-5/+15
|
* Added PostgreSQL 9.0 error codes.Daniele Varrazzo2010-09-231-1/+1
|
* Completed documentation for errorcodes module.Daniele Varrazzo2010-02-161-0/+5
|
* Added script to update the errorcodes module.Daniele Varrazzo2010-02-151-0/+110