summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2010-11-21 19:37:02 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2010-11-21 19:37:02 +0100
commitb56308b44ac5f60b757c576fdea4f91c5e215898 (patch)
tree770898248ee159d99d7370c13b8c52272331f6ad /sqlparse
parente3a64164683e34a597153005386f9ee53396c6a5 (diff)
downloadsqlparse-b56308b44ac5f60b757c576fdea4f91c5e215898.tar.gz
Add VARCHAR2 and LONG to keywords (fixes issue16, fixes issue19).
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/keywords.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py
index 0eb5f8a..986e8f2 100644
--- a/sqlparse/keywords.py
+++ b/sqlparse/keywords.py
@@ -508,12 +508,14 @@ KEYWORDS = {
'INT': tokens.Name.Builtin,
'INTEGER': tokens.Name.Builtin,
'INTERVAL': tokens.Name.Builtin,
+ 'LONG': tokens.Name.Builtin,
'NUMBER': tokens.Name.Builtin,
'NUMERIC': tokens.Name.Builtin,
'REAL': tokens.Name.Builtin,
'SERIAL': tokens.Name.Builtin,
'SMALLINT': tokens.Name.Builtin,
'VARCHAR': tokens.Name.Builtin,
+ 'VARCHAR2': tokens.Name.Builtin,
'VARYING': tokens.Name.Builtin,
'INT8': tokens.Name.Builtin,
'SERIAL8': tokens.Name.Builtin,