Re: [PATCHES] Avahi support for Postgresql

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCHES] Avahi support for Postgresql
Дата
Msg-id 20080225173255.GH15597@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [PATCHES] Avahi support for Postgresql  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: [PATCHES] Avahi support for Postgresql  (Mathias Hasselmann <mathias@openismus.com>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Am Montag, 25. Februar 2008 schrieb Alvaro Herrera:
> > Hmm, a quick look at the third patch reveals that it is using the
> > "threaded" Avahi client.  That's a showstopper.
> 
> Could you elaborate why that is?

Because it creates a new thread under the Postmaster to handle Avahi
events, if I'm reading the Avahi docs right.  This is verboten.

We have an event loop in the postmaster -- see ServerLoop.  Is there a
reason the Avahi events could not be hooked in there?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Questions about indexes with text_pattern_ops
Следующее
От: "Roberts, Jon"
Дата:
Сообщение: pgAgent job throttling