summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorAndi Albrecht <andi@lap-pu35.prounix.local>2017-01-24 12:05:57 +0100
committerAndi Albrecht <andi@lap-pu35.prounix.local>2017-01-24 12:05:57 +0100
commit5a9ed090400b5bce00826d141b58ea6e272297f7 (patch)
tree5a42b066c066fe5f09cd9f36cce3b89c1d0e5d01 /sqlparse
parent702468a3147883cc0de7a2096d2c23d9c31565eb (diff)
downloadsqlparse-5a9ed090400b5bce00826d141b58ea6e272297f7.tar.gz
Don't treat GROUPS as a keyword, it's too common for table names.
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/keywords.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py
index b938201..1fd07c1 100644
--- a/sqlparse/keywords.py
+++ b/sqlparse/keywords.py
@@ -721,7 +721,8 @@ KEYWORDS_ORACLE = {
'FREELIST': tokens.Keyword,
'FREELISTS': tokens.Keyword,
- 'GROUPS': tokens.Keyword,
+ # groups seems too common as table name
+ # 'GROUPS': tokens.Keyword,
'INDICATOR': tokens.Keyword,
'INITRANS': tokens.Keyword,