Commit Graph

115 Commits

Author SHA1 Message Date
Nikita Volkov
1a2e7ee3ec Update a builder dep 2017-03-21 00:29:27 +03:00
Nikita Volkov
7cba5bd1f0 Migrate to "postgresql-binary-0.12.1" 2017-03-21 00:27:52 +03:00
Nikita Volkov
2801829ff7 Fix the compatibility with the newer "base-prelude" 2017-03-16 15:16:41 +03:00
Rik van der Kleij
85e4c7a686 Support for inet data type. 2017-03-14 16:11:42 +01:00
Alexander Thiemann
47cbfe2731 Comment about "IN" queries.
As discussed in #61
2016-11-24 13:12:39 +01:00
Nikita Volkov
a802f907a4 Fix the docs 2016-09-20 06:08:50 +03:00
Nikita Volkov
af4583f403 Move all the private modules into the according namespace 2016-08-06 12:22:23 +03:00
Nikita Volkov
fe23060c75 Style corrections 2016-07-23 15:44:55 +03:00
Moritz Kiefer
5fb07162a8 Expose access to raw libpq connection
Needed for #43.
2016-07-23 12:20:50 +02:00
Nikita Volkov
00231954df Provide an instance of Decidable to the Params encoder 2016-04-25 17:26:25 +03:00
Nikita Volkov
b03ab41a77 Update PreparedStatementRegistry and fix the bug 2016-02-26 15:28:08 +03:00
Nikita Volkov
7954c8d734 Semigroup 2016-02-23 09:43:07 +03:00
Nikita Volkov
ff3dd818df Raw JSON support 2016-02-09 13:15:35 +03:00
Nikita Volkov
6135f5f980 JSONB 2016-01-29 11:46:18 +03:00
Nikita Volkov
85275809b9 "custom" decoder 2016-01-28 14:13:09 +03:00
Nikita Volkov
9f8fc65ff2 Fix some potential bugs 2016-01-24 19:52:53 +03:00
Nikita Volkov
24e31161c7 Fix the bug 2016-01-24 19:52:33 +03:00
Nikita Volkov
67576ac343 Fix the bug 2016-01-22 18:50:13 +03:00
Nikita Volkov
25a66b2443 A hotfix of the inverted integer-datetimes detection bug in encoders 2016-01-12 17:25:01 +03:00
Nikita Volkov
1871bde72d Add the "unknown" encoder 2016-01-12 10:55:36 +03:00
Nikita Volkov
90b7868678 Merge origin/master 2016-01-06 09:40:32 +03:00
Nikita Volkov
013506a690 Minor corrections 2015-12-28 12:14:42 +05:00
Leon P Smith
eeff72e2f6 Add rudimentary tracking of explicit disconnects
No guarantee that using a connection after it has been closed will
result in a sensible operation,  but at least it won't result in
a use-after-free memory fault now.

Also, this should make this interface relatively safe to use concurrently.
2015-12-26 01:32:03 -05:00
Nikita Volkov
d4757f3bbc MonadIO for Session 2015-12-23 20:35:21 +05:00
Nikita Volkov
15be208dd5 Move Settings to Connection 2015-12-23 17:07:14 +05:00
Nikita Volkov
032f3be9f5 Return ConnectionError 2015-12-23 16:23:39 +05:00
Nikita Volkov
b777ae2e40 Revision 2015-12-21 18:51:42 +05:00
Nikita Volkov
838bc8cb8e Session and Query Arrow 2015-12-21 18:11:14 +05:00
Nikita Volkov
11ea136193 Drop the unsafe freeing of result 2015-12-06 08:12:23 +03:00
Nikita Volkov
12494a3a87 Docs 2015-12-05 10:47:57 +03:00
Nikita Volkov
ef1b6ff8b3 Encoding/Decoding -> Encoders/Decoders 2015-12-05 09:09:31 +03:00
Nikita Volkov
7ec4644a95 Docs correction 2015-11-22 10:57:08 +03:00
Nikita Volkov
8f95a93c77 Acquire/release 2015-11-22 10:49:54 +03:00
Nikita Volkov
6fafd9c407 Correct docs 2015-11-22 10:46:24 +03:00
Nikita Volkov
0edd4d108b typo 2015-11-22 10:42:18 +03:00
Nikita Volkov
93805d4a73 Deep isolation 2015-11-22 10:10:21 +03:00
Nikita Volkov
c5aad7355e Params unit 2015-11-22 09:08:06 +03:00
Nikita Volkov
bd9174af91 Tuple instances 2015-11-22 09:07:58 +03:00
Nikita Volkov
66eee199cb "noResult" -> "unit" 2015-11-22 08:34:27 +03:00
Nikita Volkov
108a7dc6d1 Docs 2015-11-21 18:07:49 +03:00
Nikita Volkov
d1425a7ccb Docs 2015-11-21 18:03:29 +03:00
Nikita Volkov
ed23377f2e Simplify Settings 2015-11-21 17:46:36 +03:00
Nikita Volkov
8dde5b3864 Make Settings strict to conform with the rest of the API 2015-11-21 17:36:37 +03:00
Nikita Volkov
5a2987f2fd Docs 2015-11-21 16:46:16 +03:00
Nikita Volkov
7bade85359 Map the "char" encoder to the "text" OID 2015-11-21 16:46:10 +03:00
Nikita Volkov
521a8c0e4b Docs 2015-11-21 16:42:12 +03:00
Nikita Volkov
0e98ce77ad Docs 2015-11-21 16:41:13 +03:00
Nikita Volkov
53baaa77d8 Docs 2015-11-21 16:22:38 +03:00
Nikita Volkov
5935393c8a Update "contravariant-extras" 2015-11-21 15:30:14 +03:00
Nikita Volkov
31e4c3283f Update "contravariant-extras" 2015-11-21 15:13:55 +03:00