Re: [PATCHES] Avahi support for Postgresql

From: Mathias Hasselmann <mathias(at)openismus(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: 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:17:00
Message-ID: 1203967020.7227.34.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Am Montag, den 25.02.2008, 15:05 +0100 schrieb Peter Eisentraut:
> Am Dienstag, 27. November 2007 schrieb Mathias Hasselmann:
> > Postmaster already has code to announce its services via DNS-SD
> > (ZeroConf) by using Apple's Bonjour API. This series of patches
> > implements that capability on top of the Avahi library[1] which
> > is free software, available for a wider variety of platforms.
>
> 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().

2) Unless DNSServiceRegistrationCreate() installs a lot of black magic,
the Bonjour code in postmaster.c has very poor error handling: There
seem to be no attempts made to handle name collisions (unless Bonjour
does this automatically, of course).

Ciao,
Mathias
--
Mathias Hasselmann <mathias(at)openismus(dot)com>
http://www.openismus.com/ - We can get it done.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2008-02-25 19:21:00 libpq.rc make rule
Previous Message Mathias Hasselmann 2008-02-25 19:10:33 Re: Avahi support for Postgresql

Browse pgsql-patches by date

  From Date Subject
Next Message Mathias Hasselmann 2008-02-25 19:24:08 Re: Avahi support for Postgresql
Previous Message Mathias Hasselmann 2008-02-25 19:10:33 Re: Avahi support for Postgresql