From: Michael Fuhr <mike@fuhr.org>
To: Donald Fraser <postgres@kiwi-fraser.net>
Cc: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Re: Notifications
Date: Thu, 16 Dec 2004 10:07:21 -0700
Message-ID: <20041216170721.GA67633@winnie.fuhr.org> (raw)
In-Reply-To: <002e01c4e37a$5ab3bae0$6464a8c0@DonAcer>
References: <002e01c4e37a$5ab3bae0$6464a8c0@DonAcer>
On Thu, Dec 16, 2004 at 02:20:07PM -0000, Donald Fraser wrote:
> I'm having problems receiving NOTIFY messages when outside our local network.
Define "problems." What are you doing, what are you expecting to
happen, and what actually does happen? Have you tested whether you
have the same problems when *inside* the local network? The
distinction between inside or outside may be a red herring.
> I have dissabled firewall setting but nothing seems to fix the problem.
What firewall setting did you disable and why? Best not to mess
around with things unless you have reason to think they'll work
(in other words, avoid using a stab-in-the-dark approach).
> I was wandering if NOTIFY messages use UDP or TCP, as that would
> possibly explain why they are not arriving?
PostgreSQL's NOTIFY messages ride inside your connection to the
database, so if you're connected across a network then they'll be
TCP. But you shouldn't have to do anything special to allow them:
if you can connect to the database then you'll get notifications.
A possible problem is that a firewall or other intermediate device
times out idle connections. Do you notice the problem after periods
of no activity?
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mike@fuhr.org, postgres@kiwi-fraser.net
Subject: Re: Notifications
In-Reply-To: <20041216170721.GA67633@winnie.fuhr.org>
References: <002e01c4e37a$5ab3bae0$6464a8c0@DonAcer> <20041216170721.GA67633@winnie.fuhr.org>
* 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