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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Patch: update Bonjour support to the newer non-deprecated API
Дата
Msg-id 20090907182030.GO8894@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Patch: update Bonjour support to the newer non-deprecated API  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Patch: update Bonjour support to the newer non-deprecated API  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > The source is here:
> > http://avahi.sourcearchive.com/documentation/0.6.25-1ubuntu1/avahi-compat-libdns__sd_2compat_8c-source.html
> 
> After reading that code, I am content to remain forcibly non compatible
> with it.  If we relied on this it would inject threading into the
> postmaster, which was precisely the thing that got the previous Avahi
> patch rejected last year :-(

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?

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Patch: update Bonjour support to the newer non-deprecated API
Следующее
От: Robert Creager
Дата:
Сообщение: Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem