|
I have experience with LIsten/Notify
and as you mention the only problem is that I need a server side
client that calls the listen and then calls a db function on the
notify.
One thought I had to do this completely in the database is to right notify code in plpython similar to http://postgresql.1045698.n5.nabble.com/LISTEN-NOTIFY-and-python-td1878518.html Then I could call the function on db startup and have it call the appropriate function whenever notify is called. It would probably be easier to write the function in C, but I don't have experience in copiling a C function that will run in the database. This would be a completely postgresql solution. Sim On 12/11/2012 09:29 PM, rektide wrote: Hi all, I'm writing seeking help for making asynchronous & decoupled processes run on a Postgres server. |
- [GENERAL] NOTIFY/LISTEN on server, asynchronous processi... rektide
- Re: [GENERAL] NOTIFY/LISTEN on server, asynchronous... Kiriakos Georgiou
- Re: [GENERAL] NOTIFY/LISTEN on server, asynchronous... Sergey Konoplev
- Re: [GENERAL] NOTIFY/LISTEN on server, asynchro... rektide
- Re: [GENERAL] NOTIFY/LISTEN on server, asyn... Sergey Konoplev
- Re: [GENERAL] NOTIFY/LISTEN on server, asynchronous... Sim Zacks
