pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sim Zacks <sim@compulab.co.il>
To: PostgreSQL general <pgsql-general@postgresql.org>
Subject: Re: Using Postgresql as application server
Date: Thu, 18 Aug 2011 07:38:28 +0300
Message-ID: <4E4C9744.4060407@compulab.co.il> (raw)
In-Reply-To: <46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com>
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>
	<46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#ffffff"
    text="#000000">
    On 08/17/2011 05:34 PM, Scott Ribe wrote:
    <blockquote
      cite="mid:46EC79AF-3685-484E-AABE-E25969C23D56@elevated-dev.com"
      type="cite">
      <pre wrap="">On Aug 17, 2011, at 1:05 AM, Sim Zacks wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">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.
</pre>
      </blockquote>
      <pre wrap="">
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.
</pre>
    </blockquote>
    <p>The point was not whether I have a bug in an external
      application, the point is that I need an external application
      which creates more overhead and another point of failure in the
      application stack. <br>
    </p>
  </body>
</html>



view thread (88+ messages)  latest in thread

Message-ID: <4E4C9744.4060407@compulab.co.il>
Permalink:  ../4E4C9744.4060407@compulab.co.il/
Also on:    postgresql.org/message-id/4E4C9744.4060407@compulab.co.il

 · 

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: sim@compulab.co.il, pgsql-general@postgresql.org
  Subject: Re: Using Postgresql as application server
  In-Reply-To: <4E4C9744.4060407@compulab.co.il>

* 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