22 Commits

Author SHA1 Message Date
4bf489c554 Implement UTCTime decoding
Remove LocalTime decoding because it requires IO to convert from Postgres time.
2024-01-08 15:28:14 +01:00
68d747f605 Fix error messages 2023-10-23 17:44:57 +02:00
cf2055f39e Fix negative integer decoding
Use Int and Word instead of Int64 and Word64 consistently
2023-10-05 08:58:55 +02:00
4f39966da2 Add comment about difference between Postgres and Haskell dates 2023-10-04 13:30:51 +02:00
9c93d3a42b Change negative days by 1 to account for missing year zero 2023-10-03 20:19:40 +02:00
94401a2753 Implement FromField UTCTime 2023-10-02 17:00:49 +02:00
f6ad7b157c Rewrite RawField 2023-10-02 14:30:12 +02:00
7eccd0d778 Add FromField DiffTime and FromField TimeOfDay 2023-10-02 14:09:45 +02:00
9628a4b57f Add RawField utility type 2023-10-02 13:44:45 +02:00
126b8ee6e9 Implement date -> Day decoding 2023-09-23 11:11:29 +02:00
4d21e67130 Decode values from binary instead of text format 2023-09-23 05:53:30 +02:00
83d2c07396 Add FromField Word 2023-09-17 05:31:32 +02:00
e307ee73d8 Add FromField Integer 2023-09-17 05:25:04 +02:00
dc4a302311 Add FromField Char 2023-09-17 05:08:24 +02:00
335b6188d1 Clean up column table code 2023-09-16 18:39:45 +02:00
390e60738f Implement column table stuff 2023-09-16 06:17:08 +02:00
ab396b9db6 Make getColumnTable report missing columns 2023-09-16 04:58:23 +02:00
feb7a5df3f Remove unused UndecidableInstances 2023-09-05 17:29:12 +02:00
60f7f1c091 Implement FromField Bool 2023-09-05 17:23:25 +02:00
66202b1e34 Implement FromField Float and FromField Double 2023-09-05 17:09:21 +02:00
7a14714cf6 Add errors and optional fields 2023-09-04 23:46:51 +02:00
8c8740e4b8 Add unit tests and reimplement FromField 2023-09-03 04:02:07 +02:00