1
Fork 0

rename LobTypeName to PrecLengthTypeName

rename LobMultiplier and LobUnits to PrecMultiplier and PrecUnits
remove support for limit syntax
remove the unreserved keyword list since it isn't useful
tests for row value constructors
tests for table value constructors
tests for query specifications
tests for explicit table
work on tests for setops,order by,offset,fetch and sort specification
This commit is contained in:
Jake Wheat 2014-04-20 23:14:55 +03:00
parent 0d1e345262
commit dbd48baaa1
7 changed files with 122 additions and 279 deletions
tools/Language/SQL/SimpleSQL

View file

@ -129,9 +129,10 @@ These are a few misc tests which don't fit anywhere else.
> ,ms Nothing (Just $ NumLit "10"))
> ,("select a from t offset 5 row fetch first 10 row only"
> ,ms (Just $ NumLit "5") (Just $ NumLit "10"))
> -- postgres
> ,("select a from t limit 10 offset 5"
> ,ms (Just $ NumLit "5") (Just $ NumLit "10"))
> -- postgres: disabled, will add back when postgres
> -- dialect is added
> --,("select a from t limit 10 offset 5"
> -- ,ms (Just $ NumLit "5") (Just $ NumLit "10"))
> ]
> where
> ms o l = makeSelect