Re: Using Postgresql as application server - Mailing list pgsql-general

From Scott Ribe
Subject Re: Using Postgresql as application server
Date
Msg-id 46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com
Whole thread Raw
In response to Re: Using Postgresql as application server  (Sim Zacks <sim@compulab.co.il>)
Responses Re: Using Postgresql as application server
List pgsql-general
On Aug 17, 2011, at 1:05 AM, Sim Zacks wrote:

> One problem we have with LISTEN/NOTIFY (and I haven't found the cause for this yet) is every once in a while my
daemonstops listening. It may be after a month of use or longer, and may be caused by the database being restarted or
somethingsimilar. When the daemon stops listening, it doesn't give any errors or indication that it isn't working
anymore.

So your daemon has a bug. When the database is restarted, connections will be closed, and the daemon should certainly
noticethat. Of course the cause may be something else, but either way I doubt it's a problem with NOTIFY/LISTEN. 

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: Re: Using Postgresql as application server
Next
From: Merlin Moncure
Date:
Subject: Re: Using Postgresql as application server