small fixes and update changelog
This commit is contained in:
parent
322b6f200d
commit
c35ea6e08b
|
@ -1773,7 +1773,7 @@ slightly hacky parser for signed integers
|
|||
|
||||
-----------------------------
|
||||
|
||||
= access control
|
||||
= transaction management
|
||||
|
||||
> startTransaction :: Parser Statement
|
||||
> startTransaction = StartTransaction <$ keywords_ ["start","transaction"]
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
> | QName String
|
||||
> | UQName String
|
||||
> | DQName String String String
|
||||
> -- ^ dialect quoted name, the fields are start quote, end quote and the string itself, e.g. `something` is parsed to DQName "`" "`" "something, and $a$ test $a$ is parsed to DQName "$a$" "$a" " test "
|
||||
> -- ^ dialect quoted name, the fields are start quote, end quote and the string itself, e.g. `something` is parsed to DQName "`" "`" "something, and $a$ test $a$ is parsed to DQName "$a$" "$a$" " test "
|
||||
> deriving (Eq,Show,Read,Data,Typeable)
|
||||
|
||||
> -- | Represents a type name, used in casts.
|
||||
|
@ -419,7 +419,7 @@ I'm not sure if this is valid syntax or not.
|
|||
> -- probably won't do character sets, collations
|
||||
> -- and translations because I think they are too far from
|
||||
> -- reality
|
||||
> {- | CreateCharacterSet
|
||||
> {- | CreateCharacterSet
|
||||
> | DropCharacterSet
|
||||
> | CreateCollation
|
||||
> | DropCollation
|
||||
|
|
16
changelog
16
changelog
|
@ -1,15 +1,17 @@
|
|||
If you need help updating to a new version of simple-sql-parser,
|
||||
please email jakewheatmail@gmail.com or use the github bug tracker,
|
||||
https://github.com/JakeWheat/simple-sql-parser/issues.
|
||||
|
||||
0.5.0 (not released yet, updated to commit dfa84072dce3ac0fb908ede3f5addbbf4c076d79)
|
||||
0.5.0 (not released yet, updated to commit 322b6f200d694bff78f6a4a011d7e89d85293731)
|
||||
add a separate lexer to simplify code and speed up parsing
|
||||
replace SqlIndent with new tool, SimpleSqlParserTool (amazing
|
||||
name) which can indent, and parse and lex.
|
||||
experiments in new approach to dealing with fixities with separate
|
||||
pass after parsing
|
||||
add support for insert, update, delete and truncate
|
||||
add limited support for create schema, plus drop schema
|
||||
dml :add support for insert, update, delete and truncate
|
||||
ddl: add limited support for create schema, plus drop schema
|
||||
create, alter and drop table with defaults and constraints
|
||||
create, alter and drop for domain, view, sequence
|
||||
limited support for transaction management: start transation,
|
||||
rollback, commit, savepoint
|
||||
fix the precendence of operators which was following the weird
|
||||
postgresql 9.4 and earlier precendences instead of the standard
|
||||
0.4.1 (commit c156c5c34e91e1f7ef449d2c1ea14e282104fd90)
|
||||
tested with ghc 7.4.2, 7.6.3, 7.8.4,7.10.0.20150123
|
||||
simple demonstration of how dialects could be handled internally
|
||||
|
|
|
@ -418,6 +418,7 @@ readable.
|
|||
* Hackage: http://hackage.haskell.org/package/simple-sql-parser
|
||||
* Repository: https://github.com/JakeWheat/simple-sql-parser
|
||||
* Bug tracker: https://github.com/JakeWheat/simple-sql-parser/issues
|
||||
* Changes: https://github.com/JakeWheat/simple-sql-parser/blob/master/changelog
|
||||
|
||||
== Contact
|
||||
|
||||
|
|
Loading…
Reference in a new issue