Commit Graph

  • 4db509c1b5 Don't include build tools in main lib output main Paul Brinkmeier 2025-10-07 00:47:50 +02:00
  • af16429d82 Also expose ConnectionError in main module Paul Brinkmeier 2025-08-24 21:46:07 +02:00
  • 42398e71bb Expose ConnectionError constructors Paul Brinkmeier 2025-08-24 21:40:12 +02:00
  • 1c32e4244e Add actual row number to row number errors Paul Brinkmeier 2025-08-20 22:22:21 +02:00
  • 9e9e0204bb Add ToField Day paul 2025-07-28 08:57:01 +02:00
  • b39da29d13 Bump version 1.1.0.0 paul 2025-07-20 02:48:53 +02:00
  • 3379fa9df7 Check whether connection succeeded and set encoding in connect paul 2025-07-20 02:48:14 +02:00
  • 2fddc958b9 Bump version 1.0.0.0 paul 2025-07-15 23:27:12 +02:00
  • 9a2dbbd3cc Avoid double-closing the connection paul 2025-07-15 23:22:52 +02:00
  • d17865265a Add Connection type paul 2025-07-15 22:33:19 +02:00
  • 3879c2603f Add name OID and register it as a textual type paul 2025-07-15 18:26:34 +02:00
  • 79085906a5 Add flake-utils paul 2025-07-15 18:11:11 +02:00
  • 8ddeb8a61a Use specific nixpkgs paul 2025-07-15 18:07:16 +02:00
  • aa1bb459be Set system to aarch64-darwin aarch64-darwin paul 2025-07-15 16:44:15 +02:00
  • d6703f9646 Add tuple decoding into multiple records paul 2024-07-03 17:00:58 +02:00
  • 6d3b1e660a Slightly change readme example code paul 2024-07-03 11:22:18 +02:00
  • 97e5d9e61c Add Maybe as possible row container type paul 2024-07-03 11:12:07 +02:00
  • 56585dd5f1 Make the container type for fetch customizable paul 2024-07-03 11:03:36 +02:00
  • 2b2a048197 Make Connection parameter go last in query functions paul 2024-07-03 10:09:38 +02:00
  • ef52bd9235 Bump nixpkgs paul 2024-06-25 22:36:51 +02:00
  • 5a36ec328f Use cabal2nix for flake expression paul 2024-06-25 22:30:15 +02:00
  • 19a1aa26e4 Minor fixes paul 2024-06-20 20:10:51 +02:00
  • 2caa00c06a Move record member counting out of FromRow' into its own type family paul 2024-06-20 20:07:37 +02:00
  • e8ccecc8c7 Cull language pragmas in main module paul 2024-06-20 19:58:29 +02:00
  • ab9fac6a55 Use void paul 2024-06-17 12:51:58 +02:00
  • b371cdf725 Add some todos paul 2024-06-10 21:10:08 +02:00
  • fea11b5f24 Remove ugly IORef from fromRow and replace it by ugly compile time calculation :) paul 2024-06-10 21:08:29 +02:00
  • 301e20e7e8 Add some comments, execute and execute_ paul 2024-06-10 10:26:40 +02:00
  • 20d150d12c Replace ad-hoc isLeft by import from Data.Either paul 2024-04-11 18:56:58 +02:00
  • 3a5488c89d Add ToField and ToParamList modules, fix warning in spec paul 2024-04-11 18:32:16 +02:00
  • e68bc65576 Tick off fetch implementation paul 2024-04-11 18:28:52 +02:00
  • cd7b334ae5 Add fetch and toParamList for passing parameters paul 2024-04-11 18:28:16 +02:00
  • c2c6c6eec2 Turn members of Oid module into constants paul 2024-04-11 15:55:19 +02:00
  • f8904ccc01 Add timestamp todo paul 2024-01-08 15:38:42 +01:00
  • 4bf489c554 Implement UTCTime decoding paul 2024-01-08 15:28:14 +01:00
  • 68d747f605 Fix error messages paul 2023-10-23 17:44:57 +02:00
  • cf2055f39e Fix negative integer decoding paul 2023-10-05 08:58:55 +02:00
  • 4f39966da2 Add comment about difference between Postgres and Haskell dates paul 2023-10-04 13:30:51 +02:00
  • 9c93d3a42b Change negative days by 1 to account for missing year zero paul 2023-10-03 20:19:40 +02:00
  • 94401a2753 Implement FromField UTCTime paul 2023-10-02 17:00:49 +02:00
  • f6ad7b157c Rewrite RawField paul 2023-10-02 14:30:12 +02:00
  • 7eccd0d778 Add FromField DiffTime and FromField TimeOfDay paul 2023-10-02 14:09:45 +02:00
  • 9628a4b57f Add RawField utility type paul 2023-10-02 13:44:45 +02:00
  • 126b8ee6e9 Implement date -> Day decoding paul 2023-09-23 11:11:29 +02:00
  • 4d21e67130 Decode values from binary instead of text format paul 2023-09-23 05:53:30 +02:00
  • 83d2c07396 Add FromField Word feature/more-instances paul 2023-09-17 05:31:32 +02:00
  • e307ee73d8 Add FromField Integer paul 2023-09-17 05:25:04 +02:00
  • dc4a302311 Add FromField Char paul 2023-09-17 05:00:45 +02:00
  • 66a5f54153 Add FromRow instance to readme example paul 2023-09-16 19:53:45 +02:00
  • 423f28f0a2 Add quick start section to readme paul 2023-09-16 19:52:35 +02:00
  • d54cf6ea7f Move column increment to decodeField paul 2023-09-16 19:14:12 +02:00
  • ff615b6172 Use Vector for column table for constant element access paul 2023-09-16 19:10:46 +02:00
  • 335b6188d1 Clean up column table code paul 2023-09-16 18:39:45 +02:00
  • 390e60738f Implement column table stuff paul 2023-09-16 06:17:08 +02:00
  • ab396b9db6 Make getColumnTable report missing columns paul 2023-09-16 04:58:23 +02:00
  • 591f4cddfa Unify Proxy type applications paul 2023-09-16 04:39:26 +02:00
  • e7d494c034 Add getColumnTable function paul 2023-09-16 04:36:42 +02:00
  • feb7a5df3f Remove unused UndecidableInstances paul 2023-09-05 17:29:12 +02:00
  • 4f01b8b031 Update readme paul 2023-09-05 17:27:56 +02:00
  • 60f7f1c091 Implement FromField Bool paul 2023-09-05 17:23:25 +02:00
  • 66202b1e34 Implement FromField Float and FromField Double paul 2023-09-05 17:05:22 +02:00
  • 3ef1f5bbde Clean up FromRow instances a little paul 2023-09-05 16:23:29 +02:00
  • 7a14714cf6 Add errors and optional fields paul 2023-09-04 23:46:51 +02:00
  • 8c8740e4b8 Add unit tests and reimplement FromField paul 2023-09-03 04:02:07 +02:00
  • f55e7fd06f Add script for running test with Postgres paul 2023-09-02 16:09:19 +02:00
  • 4dd23d561e Project setup and implementation sketch paul 2023-09-02 03:39:17 +02:00