From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Mathias Hasselmann <mathias(at)openismus(dot)com>, pgsql-hackers(at)postgresql(dot)org, Murray Cumming <murrayc(at)openismus(dot)com> |
Subject: | Re: [PATCHES] Avahi support for Postgresql |
Date: | 2008-02-25 17:32:55 |
Message-ID: | 20080225173255.GH15597@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Roberts, Jon | 2008-02-25 17:36:55 | pgAgent job throttling |
Previous Message | Gregory Stark | 2008-02-25 17:10:41 | Re: Questions about indexes with text_pattern_ops |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2008-02-25 18:12:58 | Re: Avahi support for Postgresql |
Previous Message | Joshua D. Drake | 2008-02-25 17:21:31 | Re: Fix pgstatindex using for large indexes |