From f75598e0692cd1af7669b89a8ba172a9e74c5da4 Mon Sep 17 00:00:00 2001 From: Nikita Volkov Date: Sat, 31 Aug 2024 14:46:50 +0300 Subject: [PATCH 1/2] Make compatible with latest postgresql-libpq --- hasql.cabal | 2 +- library/Hasql/LibPq14.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hasql.cabal b/hasql.cabal index 57198dd..4476ea1 100644 --- a/hasql.cabal +++ b/hasql.cabal @@ -143,7 +143,7 @@ library iproute >=1.7 && <1.8, mtl >=2 && <3, postgresql-binary >=0.14 && <0.15, - postgresql-libpq >=0.10.1 && <0.10.3, + postgresql-libpq >=0.10.1 && <0.12, profunctors >=5.1 && <6, scientific >=0.3 && <0.4, text >=1 && <3, diff --git a/library/Hasql/LibPq14.hs b/library/Hasql/LibPq14.hs index d762dfb..588c7b9 100644 --- a/library/Hasql/LibPq14.hs +++ b/library/Hasql/LibPq14.hs @@ -15,7 +15,7 @@ module Hasql.LibPq14 ) where -import Database.PostgreSQL.LibPQ as Base hiding (ExecStatus (..), resultStatus) +import Database.PostgreSQL.LibPQ as Base hiding (ExecStatus (..), PipelineStatus (..), enterPipelineMode, exitPipelineMode, pipelineStatus, pipelineSync, resultStatus, sendFlushRequest) import Database.PostgreSQL.LibPQ.Internal qualified as BaseInternal import Hasql.LibPq14.Ffi qualified as Ffi import Hasql.LibPq14.Mappings qualified as Mappings From c894fb1691eff38f9470ca47dd1693099204d1fe Mon Sep 17 00:00:00 2001 From: nikita-volkov Date: Sat, 31 Aug 2024 11:58:05 +0000 Subject: [PATCH 2/2] Set package version to 1.8.0.2 --- hasql.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hasql.cabal b/hasql.cabal index 4476ea1..eb3a2f2 100644 --- a/hasql.cabal +++ b/hasql.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hasql -version: 1.8.0.1 +version: 1.8.0.2 category: Hasql, Database, PostgreSQL synopsis: Fast PostgreSQL driver with a flexible mapping API description: