pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Sim Zacks <sim@compulab.co.il>
Cc: pgsql-general@postgresql.org
Subject: Re: Using Postgresql as application server
Date: Wed, 17 Aug 2011 08:34:29 -0600
Message-ID: <46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com> (raw)
In-Reply-To: <4E4B6828.1050506@compulab.co.il>
References: <CAN2Y=uPjF14F5A9JXj02_vaPw4TMR0WGQid_w80xt4sC8o4qGg@mail.gmail.com>
	<4E498536.9080109@darrenduncan.net>
	<008301cc5b95$e287b120$a7971360$@yahoo.com>
	<4E49A208.5070604@darrenduncan.net>
	<CAKt_ZftgpuGNbyxvQ_Bf0QrjahY5=HbxcoUUuxUYCdKbY=rp0g@mail.gmail.com>
	<4E49EC4D.1090707@darrenduncan.net>
	<4E4B6828.1050506@compulab.co.il>

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@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice







view thread (88+ messages)  latest in thread

Message-ID: <46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com>
Permalink:  ../46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com/
Also on:    postgresql.org/message-id/46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, sim@compulab.co.il, pgsql-general@postgresql.org
  Subject: Re: Using Postgresql as application server
  In-Reply-To: <46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox