git.iko.soy/typeable/postgresql-simple
on master help sign in
ಠ_ಠ
723ced3Leon P Smith
src/Database/PostgreSQL/Simple/Notification.hs+10
@@ -16,6 +16,16 @@
16-- <http://www.postgresql.org/docs/9.1/static/sql-notify.html> for more
16-- <http://www.postgresql.org/docs/9.1/static/sql-notify.html> for more
17-- information.
17-- information.
18--
18--
19+-- Note that on Windows, @getNotification@ currently uses a polling loop
20+-- of 1 second to check for more notifications, due to some inadequacies
21+-- in GHC's IO implementation and interface on that platform. See GHC
22+-- issue #7353 for more information. While this workaround is less than
23+-- ideal, notifications are still better than polling the database directly.
24+-- Notifications do not create any extra work for the backend, and are
25+-- likely cheaper on the client side as well.
26+--
27+-- <http://hackage.haskell.org/trac/ghc/ticket/7353>
28+--
19-----------------------------------------------------------------------------
29-----------------------------------------------------------------------------
20
30
21module Database.PostgreSQL.Simple.Notification
31module Database.PostgreSQL.Simple.Notification