Skip to content

Commit 88c794e

Browse files
authored
Merge pull request #27 from diogob/hasql-pool-1.2
hasql-pool 1.2
2 parents b017d66 + 48f92a8 commit 88c794e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hasql-notifications.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ library
1717
hs-source-dirs: src
1818
exposed-modules: Hasql.Notifications
1919
build-depends: base >= 4.7 && < 5
20-
, bytestring >= 0.10.8.2
20+
, bytestring >= 0.10.8.2 && < 0.12
2121
, text >= 2 && < 2.2
22-
, hasql-pool >= 0.4 && < 1.1
22+
, hasql-pool >= 1.2 && < 1.3
2323
, bytestring >= 0.10
2424
, postgresql-libpq >= 0.9 && < 1.0
25-
, hasql >= 0.19
25+
, hasql >= 0.19 && < 1.8
2626

2727
default-language: Haskell2010
2828
ghc-options: -Wall

src/Hasql/Notifications.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ notify ::
8181
PgIdentifier ->
8282
-- | Payload to be sent with the notification
8383
Text ->
84-
IO (Either S.QueryError ())
84+
IO (Either S.SessionError ())
8585
notify con channel mesg =
8686
run (sql $ T.encodeUtf8 ("NOTIFY " <> fromPgIdentifier channel <> ", '" <> mesg <> "'")) con
8787

0 commit comments

Comments
 (0)