Commit Graph

152 Commits

Author SHA1 Message Date
Nikita Volkov
d8b7bc8326 "strictCons" 2015-11-21 09:57:44 +03:00
Nikita Volkov
d46f657dd9 Revert a useless optimization 2015-11-20 10:01:28 +03:00
Nikita Volkov
56980658de Attempt to optimize Result 2015-11-20 09:29:46 +03:00
Nikita Volkov
c6cb62de9e SCC 2015-11-20 09:29:22 +03:00
Nikita Volkov
f1e5ac78c4 unsafeFreeResult 2015-11-20 09:29:10 +03:00
Nikita Volkov
36c18a2fd6 SCC 2015-11-20 09:28:26 +03:00
Nikita Volkov
5c094a9aed Another attempt to optimize Row 2015-11-20 09:27:44 +03:00
Nikita Volkov
a3b34e6b0e Attempt to optimize Row 2015-11-20 08:18:28 +03:00
Nikita Volkov
3dd489bc5f Pragmas 2015-11-20 07:59:49 +03:00
Nikita Volkov
de69caa6bc Refactoring 2015-11-18 22:46:26 +03:00
Nikita Volkov
7694de6814 Remove the "Results" layer from the public deserialization API 2015-11-16 20:13:15 +03:00
Nikita Volkov
eb9c4be732 Rename a few things 2015-11-16 20:03:33 +03:00
Nikita Volkov
3438be4777 Unit Default Params 2015-11-15 14:45:56 +03:00
Nikita Volkov
d4534fe9ba Drop the NonparametricQuery, since its backing "libpq" API does not support the binary protocol 2015-11-15 14:42:32 +03:00
Nikita Volkov
676f52c6bb Update errors 2015-11-15 12:12:15 +03:00
Nikita Volkov
1f34c3f4f3 Non-parametric query execution and refactorings 2015-11-15 10:29:53 +03:00
Nikita Volkov
663cc1a12e Unite Query and Connection into Hasql 2015-11-14 13:58:30 +03:00
Nikita Volkov
9e684170a1 Enum 2015-11-10 17:53:14 +03:00
Nikita Volkov
535b910fea Docs 2015-11-09 07:48:58 +03:00
Nikita Volkov
5c9cc57ab2 Consistent styling 2015-11-08 21:20:07 +03:00
Nikita Volkov
c9ef7eda7d Complete reimplementation 2015-11-08 21:09:42 +03:00
Nikita Volkov
7482cf2c55 GHC 7.10 support 2015-03-30 10:24:27 +03:00
Nikita Volkov
52cd7db40d Support for free variables by the quasi-quoter 2015-01-12 04:52:30 +03:00
Nikita Volkov
3f996b8b0a Relax the dependency on "monad-control" 2014-12-29 15:56:33 +03:00
Nikita Volkov
8336379a91 The TxStream type alias 2014-12-29 12:21:01 +03:00
Nikita Volkov
23cf4b9420 Rename "SEx" to "Ex", since we're not teenagers here 2014-12-29 12:20:44 +03:00
Nikita Volkov
9607cf8637 Statement executor 2014-12-29 11:59:00 +03:00
Nikita Volkov
f449ddc67a Accommodate to the new backend API 2014-12-29 11:58:53 +03:00
Nikita Volkov
284b5b74e0 RowParser -> CxRow 2014-12-29 11:58:53 +03:00
Nikita Volkov
260425abed Instances for PoolSettings 2014-12-29 11:58:53 +03:00
Nikita Volkov
14c8601fab Add 'singleTx', update docs, rename UnparsableResult to ResultError 2014-12-28 04:04:50 +03:00
Nikita Volkov
0015dd5501 Implement "listTx" 2014-12-28 03:45:53 +03:00
Nikita Volkov
40326f33e0 Reimplement "maybeTx" in terms of "vectorTx" 2014-12-28 03:44:53 +03:00
Nikita Volkov
8d688d82e2 Docs correction 2014-12-28 03:38:35 +03:00
Nikita Volkov
84d11c5606 TxError -> SessionError 2014-12-28 02:32:44 +03:00
Nikita Volkov
ed11b5e48d Cancel the MonadError instance for Tx, since as it turns out, Postgres won't support it 2014-12-28 01:32:26 +03:00
Nikita Volkov
ab2d2df238 Session MFunctor instance 2014-12-28 00:54:29 +03:00
Nikita Volkov
073acd578d Explicit instance of MonadError for Tx 2014-12-27 20:38:41 +03:00
Nikita Volkov
c02ba95858 Export MaybeT in Prelude 2014-12-27 20:38:23 +03:00
Nikita Volkov
9572af05ad Clean up whitespace during the quasi-quote parsing 2014-12-27 07:18:04 +03:00
Nikita Volkov
ab44c1bb20 A shortcut for empty vectors generation 2014-12-27 06:33:47 +03:00
Nikita Volkov
95c6996599 Make Session a newtype 2014-12-27 06:17:24 +03:00
Nikita Volkov
e8089b6991 Rename "q" to more meaningful "stmt" 2014-12-27 05:32:33 +03:00
Nikita Volkov
aabe5507ab Reintroduce Session and fix Demo 2014-12-27 05:31:47 +03:00
Nikita Volkov
39970138fa A complete overhaul 2014-12-27 03:43:49 +03:00
Nikita Volkov
ac620b05f4 Merge branch '0.4'
* 0.4:
  Release
  Fix the bug
  Reproduce the bug in a test
  Switch to the "hspec" testing framework
  Begin a changes log (#18)
  Update Demo
2014-12-18 02:33:12 +03:00
Nikita Volkov
eb0163c6d8 Fix the bug 2014-12-18 02:18:07 +03:00
Nikita Volkov
caaa53569d Update the deps on "list-t" and "monad-control" 2014-12-15 13:29:45 +03:00
Nikita Volkov
c4f064ddb0 Avoid "mtl-prelude" and update the "transformers" bounds 2014-11-30 02:40:09 +03:00
Nikita Volkov
e13d21aa38 Detect the semicolons with the quasi-quoter 2014-11-30 00:43:06 +03:00