From: Mirek Budzanowski <mirekb@tcs.uni.wroc.pl>
To: pgsql-sql@hub.org
Subject: notifying
Date: Thu, 27 May 1999 15:53:53 +0200 (MET DST)
Message-ID: <199905271353.PAA07490@pogwizd.ii.uni.wroc.pl> (raw)
Hello,
I got 2 proceses running on 2 different computers. One is Solaris
2.5.1 (a), the other HP-UX 10.20 (b). Postgres 6.4.2 ruuning on HP-UX.
My proceses communicate with each other using postgres.
They just do 'listen id', and the other send 'notify id'
when is some data for the first.
Both proceses wait on select() for notifies from the other.
But after some time waiting on select() when i do from psql
'select * from pg_listener;' I get some strage result!
Some times I get nothing, and some times only one proces!!
Am I doing something wrong, or notifying is broken, or I did not
some documentation???
In my opinion, when I open connection to postmaster,
I send only one 'listen id' command, and until I disconnect, or
do 'unlisten id' I sould receive notifies?
Mirek
--
Mirek Budzanowski; P.O. box 1739; 51-161 Wroclaw 8; Poland
Tel. +48 602 306674 http://www.tcs.uni.wroc.pl/~mirekb
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-sql@postgresql.org
Cc: mirekb@tcs.uni.wroc.pl, pgsql-sql@hub.org
Subject: Re: notifying
In-Reply-To: <199905271353.PAA07490@pogwizd.ii.uni.wroc.pl>
References: <199905271353.PAA07490@pogwizd.ii.uni.wroc.pl>
* 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