Skip to content

Commit

Permalink
Merge pull request #27 from diogob/hasql-pool-1.2
Browse files Browse the repository at this point in the history
hasql-pool 1.2
  • Loading branch information
diogob authored May 6, 2024
2 parents b017d66 + 48f92a8 commit 88c794e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hasql-notifications.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ library
hs-source-dirs: src
exposed-modules: Hasql.Notifications
build-depends: base >= 4.7 && < 5
, bytestring >= 0.10.8.2
, bytestring >= 0.10.8.2 && < 0.12
, text >= 2 && < 2.2
, hasql-pool >= 0.4 && < 1.1
, hasql-pool >= 1.2 && < 1.3
, bytestring >= 0.10
, postgresql-libpq >= 0.9 && < 1.0
, hasql >= 0.19
, hasql >= 0.19 && < 1.8

default-language: Haskell2010
ghc-options: -Wall
Expand Down
2 changes: 1 addition & 1 deletion src/Hasql/Notifications.hs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ notify ::
PgIdentifier ->
-- | Payload to be sent with the notification
Text ->
IO (Either S.QueryError ())
IO (Either S.SessionError ())
notify con channel mesg =
run (sql $ T.encodeUtf8 ("NOTIFY " <> fromPgIdentifier channel <> ", '" <> mesg <> "'")) con

Expand Down

0 comments on commit 88c794e

Please sign in to comment.