From 282bcf1048c472e3eddd83a331f8d4e857a2c5eb Mon Sep 17 00:00:00 2001 From: Jean-Martin Archer Date: Wed, 2 Dec 2020 21:07:55 -0800 Subject: [PATCH] keyword, add CONFLICT to postgres keywords As in ON CONFLICT --- sqlparse/keywords.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index 5f46824b..4f2050e2 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -834,6 +834,7 @@ def is_keyword(value): # PostgreSQL Syntax KEYWORDS_PLPGSQL = { + 'CONFLICT': tokens.Keyword, 'WINDOW': tokens.Keyword, 'PARTITION': tokens.Keyword, 'OVER': tokens.Keyword,