diff options
| author | Jesse Claven <jesse.claven@gmail.com> | 2017-12-18 11:18:57 +0100 |
|---|---|---|
| committer | Jesse Claven <jesse.claven@gmail.com> | 2017-12-18 11:18:57 +0100 |
| commit | 5b9f3f3e9cc311b7043d94970ae6dbc8fe7fefca (patch) | |
| tree | b38cd55c528c20537316ec9b5aac6a5679037ee0 /sqlparse | |
| parent | 374941644e7006b1b0149b349a7220c346fe876b (diff) | |
| download | sqlparse-5b9f3f3e9cc311b7043d94970ae6dbc8fe7fefca.tar.gz | |
Add more Postgres types. [1]
[1] https://www.postgresql.org/docs/9.5/static/datatype.html#DATATYPE-TABLE
Diffstat (limited to 'sqlparse')
| -rw-r--r-- | sqlparse/keywords.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index af5e348..b5b59e8 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -811,6 +811,33 @@ KEYWORDS_PLPGSQL = { 'INHERIT': tokens.Keyword, 'INDEXES': tokens.Keyword, + 'BYTEA': tokens.Keyword, + 'BIGSERIAL': tokens.Keyword, + 'BIT VARYING': tokens.Keyword, + 'BOX': tokens.Keyword, + 'CHARACTER': tokens.Keyword, + 'CHARACTER VARYING': tokens.Keyword, + 'CIDR': tokens.Keyword, + 'CIRCLE': tokens.Keyword, + 'DOUBLE PRECISION': tokens.Keyword, + 'INET': tokens.Keyword, + 'JSON': tokens.Keyword, + 'JSONB': tokens.Keyword, + 'LINE': tokens.Keyword, + 'LSEG': tokens.Keyword, + 'MACADDR': tokens.Keyword, + 'MONEY': tokens.Keyword, + 'PATH': tokens.Keyword, + 'PG_LSN': tokens.Keyword, + 'POINT': tokens.Keyword, + 'POLYGON': tokens.Keyword, + 'SMALLSERIAL': tokens.Keyword, + 'TSQUERY': tokens.Keyword, + 'TSVECTOR': tokens.Keyword, + 'TXID_SNAPSHOT': tokens.Keyword, + 'UUID': tokens.Keyword, + 'XML': tokens.Keyword, + 'FOR': tokens.Keyword, 'IN': tokens.Keyword, 'LOOP': tokens.Keyword, |
