8000 [sql] Adding TIMESTAMP to typed literal · andialbrecht/sqlparse@966a559 · GitHub
[go: up one dir, main page]

Skip to content

Commit 966a559

Browse files
john-bodleyandialbrecht
authored andcommitted
[sql] Adding TIMESTAMP to typed literal
1 parent 29166ba commit 966a559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlparse/sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ class TypedLiteral(TokenList):
493493
"""A typed literal, such as "date '2001-09-28'" or "interval '2 hours'"."""
494494
M_OPEN = T.Name.Builtin, None
495495
M_CLOSE = T.String.Single, None
496-
M_EXTEND = T.Keyword, ("DAY", "MONTH", "YEAR", "HOUR", "MINUTE", "SECOND")
496+
M_EXTEND = T.Keyword, ("DAY", "MINUTE", "MONTH", "SECOND", "TIMESTAMP", "YEAR")
497497

498498

499499
class Parenthesis(TokenList):

0 commit comments

Comments
 (0)
0