@@ -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.
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.
27+-- <http://hackage.haskell.org/trac/ghc/ticket/7353>
19-----------------------------------------------------------------------------
29-----------------------------------------------------------------------------
21module Database.PostgreSQL.Simple.Notification
31module Database.PostgreSQL.Simple.Notification