From f75598e0692cd1af7669b89a8ba172a9e74c5da4 Mon Sep 17 00:00:00 2001 From: Nikita Volkov Date: Sat, 31 Aug 2024 14:46:50 +0300 Subject: [PATCH] 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