Re: [HACKERS] Pg V10: Patch for bug in bonjour support - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: [HACKERS] Pg V10: Patch for bug in bonjour support
Date
Msg-id CAEepm=0bhNNC-V_qZe8=RhuMbcwJYJgihSeyu8QXefft6rCJVw@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Pg V10: Patch for bug in bonjour support  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Pg V10: Patch for bug in bonjour support  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Nov 9, 2017 at 1:39 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Luke Lonergan <luke@brightforge.com> writes:
>> On 11/8/17, 3:00 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>>> BTW, when I try this on Fedora 25, it builds cleanly but the feature
>>> doesn't seem to work --- I get this at postmaster start:
>>> ...
>>> I wonder which libdns_sd you are using.
>
>> libavahi-compat-libdnssd1:amd64: /usr/lib/x86_64-linux-gnu/libdns_sd.so.1.0.0
>
> Hm, the library on F25 is also avahi's.  Digging in the archives, I find
> this old thread reporting the same behavior:
>
> https://www.postgresql.org/message-id/flat/17824.1252293423%40sss.pgh.pa.us
>
> So now I'm wondering if you know something the rest of us don't about
> how to configure the platform for bonjour to work.

FWIW it builds and starts up fine on FreeBSD with
mDNSResponder-878.1.1 installed (Apache-licensed Apple Bonjour code)
and the mdnsd daemon started.  If I don't start mdnsd it shows an
error at startup.  When built against the (conflicting)
avahi-libdns-0.6.31_2 package it shows the WARNING you reported and
"DNSServiceRegister() failed: error code -65537", which might just
mean it wants to talk to some daemon I'm not running.

-- 
Thomas Munro
http://www.enterprisedb.com


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Luke Lonergan
Date:
Subject: Re: [HACKERS] Pg V10: Patch for bug in bonjour support
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] [PATCH] fix wrong create table statement indocumentation