summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2017-12-18 11:52:17 +0100
committerGitHub <noreply@github.com>2017-12-18 11:52:17 +0100
commit9d9b8a86a42df73d3673167c3f0154633e362542 (patch)
treeb38cd55c528c20537316ec9b5aac6a5679037ee0 /sqlparse
parent374941644e7006b1b0149b349a7220c346fe876b (diff)
parent5b9f3f3e9cc311b7043d94970ae6dbc8fe7fefca (diff)
downloadsqlparse-9d9b8a86a42df73d3673167c3f0154633e362542.tar.gz
Merge pull request #368 from jesse-c/add-more-pg-types
Add more Postgres types
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/keywords.py27
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,