Search Postgresql Archives

waiting for notfications on the server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to be able to wait for notify events using a user-defined C
function.  All of the examples and code I can find use libpq.

Is there some way I can synchronously wait for notify events using SPI?

Is there some reason this is a dumb idea?  I wondered about the risk of
deadlocking a backend but can't see why using libpq would eliminate this
risk.

Anyone care to enlighten me?

Thanks.

__
Marc


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux