Re: Patch: update Bonjour support to the newer non-deprecated API - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Patch: update Bonjour support to the newer non-deprecated API
Date
Msg-id 20090908161323.GE549@alvh.no-ip.org
Whole thread Raw
In response to Re: Patch: update Bonjour support to the newer non-deprecated API  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.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.


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: RfD: more powerful "any" types
Next
From: "David E. Wheeler"
Date:
Subject: Re: RfD: more powerful "any" types