diff options
author | Jean-Martin Archer <jm@jmartin.ca> | 2020-12-02 21:07:55 -0800 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2020-12-12 09:27:24 +0100 |
commit | 282bcf1048c472e3eddd83a331f8d4e857a2c5eb (patch) | |
tree | 4fc59301c57b4e1d8e4ce578b2f733afec182f3f | |
parent | 63885dd5f1be3fe519fceb0a21f1f87fdc6aa973 (diff) | |
download | sqlparse-282bcf1048c472e3eddd83a331f8d4e857a2c5eb.tar.gz |
keyword, add CONFLICT to postgres keywords
As in ON CONFLICT
-rw-r--r-- | sqlparse/keywords.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index 5f46824..4f2050e 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -834,6 +834,7 @@ KEYWORDS_ORACLE = { # PostgreSQL Syntax KEYWORDS_PLPGSQL = { + 'CONFLICT': tokens.Keyword, 'WINDOW': tokens.Keyword, 'PARTITION': tokens.Keyword, 'OVER': tokens.Keyword, |