Ignat Insarov
0aa28ff96a
Fix handling of empty statements.
2020-12-20 20:26:34 +05:00
Jake Wheat
9df04a3040
fix some imports and exports, particularly stop reexporting all the dialect stuff everywhere
2019-09-01 11:52:17 +01:00
Jake Wheat
df8a8e8df3
move special type names to the dialect
2019-09-01 09:45:26 +01:00
Jake Wheat
86f5e203af
add iden keywords and app keywords to the dialect
2019-09-01 09:34:10 +01:00
Jake Wheat
ca910b8e6d
tweaks to the keyword list and handling
2019-08-31 16:15:17 +01:00
Jake Wheat
ee432d79ba
update handling of fetch first and limit wrt dialects
2019-08-31 12:38:24 +01:00
Jake Wheat
eb45eb8705
start refactoring the dialect support, and work on the keyword handling
2019-08-31 11:57:28 +01:00
Jake Wheat
3707a09cb8
allow current_timestamp to be parsed, bump version
2019-08-31 10:08:02 +01:00
Jake Wheat
9f4a457a4d
fix extra 'as' when printing ctes
2019-08-31 09:30:42 +01:00
Jake Wheat
ce0eeb392a
fix parsing of quoted keywords
2019-08-31 09:13:09 +01:00
Jake Wheat
8e9b9edd0c
add window functions to the keyword parser hack so they work, bug #18
2019-07-07 13:08:02 +01:00
Jake Wheat
ff3dcb814c
add support for oracle type size units 'char' and 'byte', example: varchar2(55 byte)
2016-08-10 11:27:30 +03:00
Jake Wheat
c56a1c8fc8
use explicit data type for sign in interval literals
2016-02-22 23:25:00 +02:00
Jake Wheat
d52b5efc8b
rename CombineQueryExpr to QueryExprSetOp and CombineOp to SetOperatorName
2016-02-22 23:24:43 +02:00
Jake Wheat
a2645ace3f
rename ValueExpr to ScalarExpr
2016-02-22 23:24:25 +02:00
Jake Wheat
83b16edb1f
add support for odbc outer join syntax
2016-02-21 23:48:55 +02:00
Jake Wheat
c8d745fd28
add support for odbc scalar exprs
2016-02-21 23:43:19 +02:00
Jake Wheat
d8b351472f
add positional arg to the syntax and parser
2016-02-21 23:36:47 +02:00
Jake Wheat
64d3b742b4
make aggregate function names non keywords
2016-02-18 20:38:59 +02:00
Jake Wheat
c0b4358d89
parse functions whose name is a keyword
2016-02-18 20:37:12 +02:00
Jake Wheat
ee4098e189
lexer tweaks
...
combine hostparam with prefixed variable
refactor some of the lexing code slightly
fix error in tests where it was using the ansi dialect instead of
postgres for testing :::, etc.
2016-02-15 20:35:38 +02:00
Jake Wheat
aa5c2e89c7
refactor the identifier syntax
2016-02-12 14:13:47 +02:00
Jake Wheat
52f035b718
new syntax for names and string literals
2016-02-12 13:09:58 +02:00
Jake Wheat
1b4eefc431
refactor dialect into a non enum and separate to own file
2016-02-12 12:51:06 +02:00
Jake Wheat
2b73907119
rename modules lexer->lex, parser->parse
2016-02-12 12:22:19 +02:00