git.iko.soy/typeable/postgresql-simple
on master help sign in
ಠ_ಠ
commit723ced34d348dfc2d36ffce1c0b81032eec14229 authorLeon P Smith <leon@melding-monads.com> dateThu 6 Jun 2013, 07:06 (13 years ago) parent7b32518
1 file changed+10
src/Database/PostgreSQL/Simple/Notification.hs+10
src/Database/PostgreSQL/Simple/Notification.hs+10
@@ -16,6 +16,16 @@
1616-- <http://www.postgresql.org/docs/9.1/static/sql-notify.html> for more
1717-- information.
1818--
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+--
1929-----------------------------------------------------------------------------
2030
2131module Database.PostgreSQL.Simple.Notification