Re: pg_listener in 9.0

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: pg_listener in 9.0
Дата
Msg-id BANLkTimHiQh7WHZSHX7KecFpzP_76_c6bQ@mail.gmail.com
обсуждение исходный текст
Ответ на pg_listener in 9.0  (Dave Page <dpage@pgadmin.org>)
Список 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 по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: pg_listener in 9.0
Следующее
От: Steve Singer
Дата:
Сообщение: Re: pg_listener in 9.0