Commit Graph

201 Commits

Author SHA1 Message Date
Nikita Volkov
658bfe9762 Move away from experimental conventions 2024-01-27 00:23:09 +03:00
Domen Kožar
73ac1079ac QueryError: add displayException 2024-01-04 14:05:30 +00:00
Nikita Volkov
3f85f643f2 Revert "Change the OID of composites from unknown to record"
This reverts commit 25f05bae79.
2023-10-31 20:04:31 +03:00
Nikita Volkov
25f05bae79 Change the OID of composites from unknown to record 2023-10-31 19:58:48 +03:00
Nikita Volkov
6270c62cee Lint 2023-10-16 03:54:25 +03:00
nikita-volkov
55dc24bbd5 Format 2023-10-12 23:24:12 +00:00
Able Arthy
5de064d755
Fix: update link to PG documentation 2023-07-04 13:25:07 +03:00
Nikita Volkov
cbb108941c Update the docs 2022-11-21 22:59:27 +03:00
Nikita Volkov
31c553bd84 Add unkown enum 2022-11-21 22:58:44 +03:00
Nikita Volkov
c1b5f00f19 Reorder things 2022-10-18 15:05:06 +03:00
Nikita Volkov
78a0be8fcf Fix the tests and add name and oid types 2022-10-17 23:41:10 +03:00
Nikita Volkov
e3dd430e2e Fix the binary encoder to specify binary format 2022-10-17 23:34:08 +03:00
Nikita Volkov
a5d4b702e6 Implement composite encoder 2022-09-25 16:13:02 +03:00
Nikita Volkov
75ffa3f13c Format 2022-09-25 15:28:34 +03:00
Nikita Volkov
fcadfbee3e Move to explicit references to data-types
In attempt to avoid Haddock redirecting to postgresql-binary for type signatures.
2022-09-17 11:53:13 +03:00
Nikita Volkov
ef5bb2f58a Fix the build 2022-09-08 14:13:37 +03:00
Nikita Volkov
3220655db9 Add lazy variations of bytestring json encoders
Addresses #149.
2022-09-07 21:53:39 +03:00
Nikita Volkov
55a4564abc Add handling of empty query response 2022-07-20 22:22:38 +03:00
Nikita Volkov
9276d7e298 Add error position 2022-07-07 10:47:11 +03:00
Nikita Volkov
cf6458fe76 Format 2022-07-07 10:42:48 +03:00
Nikita Volkov
0f8a24a682 Add a warning 2022-06-30 11:03:55 +03:00
Nikita Volkov
b64a7015a1 Format with ormolu 2022-06-20 13:55:04 +03:00
Nikita Volkov
7430eae90e Fix docs 2022-05-30 12:25:40 +03:00
Nikita Volkov
0d5fe2ea91 Correct docs 2022-02-10 12:44:58 +03:00
Nikita Volkov
128026e416 Add MonadReader 2022-01-02 19:27:38 +03:00
guaraqe
9d186f5e8c Add column index to RowError constructor 2021-12-12 21:02:25 +05:00
Nikita Volkov
7f1c0cfb9b Revert "Migrate to new text-builder"
This reverts commit d9bf8c8cea.
2021-11-02 10:26:35 +03:00
Viktor Dukhovni
0a1eef918c Deal with removed deprecated ByteString modules
The ByteString 0.11 package included with GHC 9.2 droppped a few
long deprecated modules and functions.
2021-11-01 16:12:33 -04:00
Nikita Volkov
d9bf8c8cea Migrate to new text-builder 2021-10-22 04:13:52 +03:00
Nikita Volkov
623a1ccf3b Correct a doc 2021-10-22 04:09:06 +03:00
Nikita Volkov
f3cc8542ca Fix the strictness of the foldl decoder (#140) 2021-09-17 10:56:29 +03:00
Nikita Volkov
8f51c36dfc Ditch a redundant dep 2021-03-24 16:38:39 +03:00
Nikita Volkov
39abdd9a02 Enforce Value decoder's result to have a representational role
Fixes #137
2021-03-24 10:25:05 +03:00
Nikita Volkov
35435c0e01 Update the deps 2021-03-23 15:06:42 +03:00
Nikita Volkov
33fc524e57 Add MonadFail for Composite 2020-06-13 13:33:02 +03:00
Nikita Volkov
64c3a0eed1 Refactor Row's MonadFail 2020-06-13 13:32:53 +03:00
Nikita Volkov
0fe7f0ccd7 Avoid crashing on absent code or message (#119) 2020-05-30 11:43:14 +03:00
Renzo Carbonara
2c9c2377e1 Add MonadFail instance for Row 2020-05-09 18:58:37 +03:00
Nikita Volkov
f578165491 Add refineResult 2020-03-21 20:54:13 +03:00
Jonathan Fischoff
63f225834e Add an Exception instance to QueryError #122 2020-02-17 09:25:18 -08:00
Nikita Volkov
0f6b788fb5 Sync with "master" 2020-01-22 09:21:36 +03:00
Nikita Volkov
482ed6a3f7 Correct the docs 2019-05-28 12:10:12 +03:00
Nikita Volkov
6e45f9f4d7 Add the IN and NOT IN recipe 2019-05-27 20:44:00 +03:00
Nikita Volkov
de0e34b62e Add notices about multidimensional arrays 2019-05-27 20:43:46 +03:00
Nikita Volkov
3fcbcb23ba Add a Contravariant instance for Array encoder 2019-05-26 18:05:59 +03:00
Nikita Volkov
d7d80ede8e Correct the docs 2019-05-26 18:00:26 +03:00
Nikita Volkov
5f51693e75 Correct the docs 2019-05-22 21:50:59 +03:00
Nikita Volkov
9ebf5593ce Correct the docs 2019-05-21 21:37:28 +03:00
Nikita Volkov
5c260f9b50 Correct the docs 2019-05-21 21:36:29 +03:00
Nikita Volkov
3b6af08a28 Add shortcut array decoders 2019-05-21 21:34:20 +03:00