Re: Patch: update Bonjour support to the newer non-deprecated API

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch: update Bonjour support to the newer non-deprecated API
Date: 2009-09-08 16:13:23
Message-ID: 20090908161323.GE549@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > Should we inject some sort of compile-time rejection of the
> > compatibility API? Like, say
>
> > #ifdef AVAHI_SERVICE_COOKIE
> > #error The Avahi implementation is incompatible
> > #endif
>
> > inside some #ifdef BONJOUR block?
>
> I looked into this and couldn't find any obvious candidate symbol to
> test for. I'm not that excited about throwing roadblocks in the way
> of somebody who wants to try it, anyway --- my feeling is more like
> "if it breaks you get to keep both pieces".

Agreed -- that seems reasonable considering that one needs to
explicitely pass --enable-bonjour anyway.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2009-09-08 16:19:39 Re: RfD: more powerful "any" types
Previous Message Alvaro Herrera 2009-09-08 16:12:10 RfD: more powerful "any" types