Skip to content

Commit

Permalink
keyword, add CONFLICT to postgres keywords
Browse files Browse the repository at this point in the history
As in ON CONFLICT
  • Loading branch information
j-martin authored and andialbrecht committed Dec 12, 2020
1 parent 63885dd commit 282bcf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlparse/keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ def is_keyword(value):

# PostgreSQL Syntax
KEYWORDS_PLPGSQL = {
'CONFLICT': tokens.Keyword,
'WINDOW': tokens.Keyword,
'PARTITION': tokens.Keyword,
'OVER': tokens.Keyword,
Expand Down

0 comments on commit 282bcf1

Please sign in to comment.