Re: pg_listener in 9.0 - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: pg_listener in 9.0
Date
Msg-id BANLkTimHiQh7WHZSHX7KecFpzP_76_c6bQ@mail.gmail.com
Whole thread Raw
In response to pg_listener in 9.0  (Dave Page <dpage@pgadmin.org>)
List pgsql-hackers
On Wed, Jun 1, 2011 at 5:09 AM, Dave Page <dpage@pgadmin.org> wrote:
> The pg_listener table was removed in 9.0 in the revamp of
> LISTEN/NOTIFY. In pgAdmin we used to perform a number of selects from
> the table to get information about Slony clusters - for example, the
> PID of the slon process or to check if a process is listening for a
> specific notification. This allows the app to indicate to the user if
> there is something wrong with their replication cluster.
>
> I can't find any way to get that information now - any ideas?

Although it might not be helpful in your case, you can emulate certain
aspects of this with an advisory lock...you can query the lock table
for specific locks, and it goes away when the connection dies.

merlin


pgsql-hackers by date:

Previous
From: Christopher Browne
Date:
Subject: Re: pg_listener in 9.0
Next
From: Steve Singer
Date:
Subject: Re: pg_listener in 9.0