Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] Avahi support for Postgresql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mathias Hasselmann <mathias(at)openismus(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Murray Cumming <murrayc(at)openismus(dot)com>
Subject: Re: [PATCHES] Avahi support for Postgresql
Date: 2008-02-25 19:35:02
Message-ID: 1547.1203968102@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Mathias Hasselmann <mathias(at)openismus(dot)com> writes:
> Am Montag, den 25.02.2008, 15:05 +0100 schrieb Peter Eisentraut:
>> Is there a reason we couldn't use the Bonjour compatibility layer offered by
>> Avahi to keep the code differences to a minimum?

> 1) The Avahi's compatibility layer doesn't implement the now deprecated
> function DNSServiceRegistrationCreate().

Note that Apple themselves have been deprecating
DNSServiceRegistrationCreate for some time:

postmaster.c: In function 'PostmasterMain':
postmaster.c:856: warning: 'DNSServiceRegistrationCreate' is deprecated (declared at /usr/include/DNSServiceDiscovery/DNSServiceDiscovery.h:139)

It's a fairly good bet that the function will disappear entirely from OS
X at some point, so we're going to have to change this code soon anyway.

What I'd like to know is whether the Avahi API that this patch is using
is compatible with whatever Apple is pushing as the not-deprecated API.
It would be annoying to tell Mac users that they have to install Avahi
to get at functionality that their platform provides natively.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Jeff DavisDate: 2008-02-25 19:36:56
Subject: Re: 8.3 / 8.2.6 restore comparison
Previous:From: Mathias HasselmannDate: 2008-02-25 19:26:22
Subject: Re: Avahi support for Postgresql

pgsql-patches by date

Next:From: Mathias HasselmannDate: 2008-02-25 19:40:50
Subject: Re: [PATCHES] Avahi support for Postgresql
Previous:From: Mathias HasselmannDate: 2008-02-25 19:26:22
Subject: Re: Avahi support for Postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group