Hi -

Does anyone have any suggestions for how to write client python code that uses LISTEN? The only thing I can find is the older PyGreSQL module (import pg), which has getnotify(), but this seems to require busy-waiting. Is there any way to do this that will use select() or something under the covers, so my client doesn't spin up the cpu? (Yes, I know I could poll-sleep-poll-sleep - that's what I'll do if there's nothing cleaner.)

- John D. Burger
  MITRE



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to