Re: Using Postgresql as application server

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Using Postgresql as application server
Date: 2011-08-17 14:34:29
Message-ID: 46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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 daemon stops listening. It may be after a month of use or longer, and may be caused by the database being restarted or something similar. 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 notice that. Of course the cause may be something else, but either way I doubt it's a problem with NOTIFY/LISTEN.

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Merlin Moncure 2011-08-17 14:40:55 Re: Using Postgresql as application server
Previous Message Scott Ribe 2011-08-17 14:32:23 Re: Using Postgresql as application server

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2011-08-17 14:40:55 Re: Using Postgresql as application server
Previous Message Scott Ribe 2011-08-17 14:32:23 Re: Using Postgresql as application server