From 5a9ed090400b5bce00826d141b58ea6e272297f7 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Tue, 24 Jan 2017 12:05:57 +0100 Subject: Don't treat GROUPS as a keyword, it's too common for table names. --- sqlparse/keywords.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sqlparse') 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, -- cgit v1.2.1