Skip to content

Commit 282bcf1

Browse files
j-martinandialbrecht
authored andcommittedDec 12, 2020
keyword, add CONFLICT to postgres keywords
As in ON CONFLICT
1 parent 63885dd commit 282bcf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎sqlparse/keywords.py

+1
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ def is_keyword(value):
834834

835835
# PostgreSQL Syntax
836836
KEYWORDS_PLPGSQL = {
837+
'CONFLICT': tokens.Keyword,
837838
'WINDOW': tokens.Keyword,
838839
'PARTITION': tokens.Keyword,
839840
'OVER': tokens.Keyword,

0 commit comments

Comments
 (0)
Please sign in to comment.