Commit Graph
32 Commits
Author SHA1 Message Date
paul 4bf489c554 Implement UTCTime decoding
Remove LocalTime decoding because it requires IO to convert from Postgres time.
2024-01-08 15:28:14 +01:00
paul 68d747f605 Fix error messages 2023-10-23 17:44:57 +02:00
paul cf2055f39e Fix negative integer decoding
Use Int and Word instead of Int64 and Word64 consistently
2023-10-05 08:58:55 +02:00
paul 4f39966da2 Add comment about difference between Postgres and Haskell dates 2023-10-04 13:30:51 +02:00
paul 9c93d3a42b Change negative days by 1 to account for missing year zero 2023-10-03 20:19:40 +02:00
paul 94401a2753 Implement FromField UTCTime 2023-10-02 17:00:49 +02:00
paul f6ad7b157c Rewrite RawField 2023-10-02 14:30:12 +02:00
paul 7eccd0d778 Add FromField DiffTime and FromField TimeOfDay 2023-10-02 14:09:45 +02:00
paul 9628a4b57f Add RawField utility type 2023-10-02 13:44:45 +02:00
paul 126b8ee6e9 Implement date -> Day decoding 2023-09-23 11:11:29 +02:00
paul 4d21e67130 Decode values from binary instead of text format 2023-09-23 05:53:30 +02:00
paul 83d2c07396 Add FromField Word 2023-09-17 05:31:32 +02:00
paul e307ee73d8 Add FromField Integer 2023-09-17 05:25:04 +02:00
paul dc4a302311 Add FromField Char 2023-09-17 05:08:24 +02:00
paul 66a5f54153 Add FromRow instance to readme example 2023-09-16 19:53:45 +02:00
paul 423f28f0a2 Add quick start section to readme 2023-09-16 19:52:35 +02:00
paul d54cf6ea7f Move column increment to decodeField 2023-09-16 19:14:12 +02:00
paul ff615b6172 Use Vector for column table for constant element access 2023-09-16 19:10:46 +02:00
paul 335b6188d1 Clean up column table code 2023-09-16 18:39:45 +02:00
paul 390e60738f Implement column table stuff 2023-09-16 06:17:08 +02:00
paul ab396b9db6 Make getColumnTable report missing columns 2023-09-16 04:58:23 +02:00
paul 591f4cddfa Unify Proxy type applications 2023-09-16 04:39:26 +02:00
paul e7d494c034 Add getColumnTable function 2023-09-16 04:36:42 +02:00
paul feb7a5df3f Remove unused UndecidableInstances 2023-09-05 17:29:12 +02:00
paul 4f01b8b031 Update readme 2023-09-05 17:27:56 +02:00
paul 60f7f1c091 Implement FromField Bool 2023-09-05 17:23:25 +02:00
paul 66202b1e34 Implement FromField Float and FromField Double 2023-09-05 17:09:21 +02:00
paul 3ef1f5bbde Clean up FromRow instances a little 2023-09-05 16:23:29 +02:00
paul 7a14714cf6 Add errors and optional fields 2023-09-04 23:46:51 +02:00
paul 8c8740e4b8 Add unit tests and reimplement FromField 2023-09-03 04:02:07 +02:00
paul f55e7fd06f Add script for running test with Postgres 2023-09-02 16:09:19 +02:00
paul 4dd23d561e Project setup and implementation sketch 2023-09-02 03:39:35 +02:00