Re: revisiting unix domain sockets - Mailing list pgsql-jdbc

From Charles Pritchard
Subject Re: revisiting unix domain sockets
Date
Msg-id 52E0F624.5060101@jumis.com
Whole thread Raw
In response to Re: revisiting unix domain sockets  (Florian Weimer <fweimer@redhat.com>)
Responses Re: revisiting unix domain sockets  (Adam Mackler <pgsql-jdbc@mackler.org>)
List pgsql-jdbc
On 1/23/2014 2:46 AM, Florian Weimer wrote:
> On 01/21/2014 12:51 AM, Charles Pritchard wrote:
>> Here's a quick diff if anyone is interested.
>> https://gist.github.com/Downchuck/8531692
>>
>> Needs JNA in the class path. Seems to work.
>
> For BSD support, you need to set the sa_len member (or sun_len of
> struct sockaddr_un).
>

Much appreciated. I believe there's a special case for Solaris as well.
I'm a FreeBSD fan, but it's been awhile.
I'll revisit it prior to sending a pull request.

-Charles


pgsql-jdbc by date:

Previous
From: Florian Weimer
Date:
Subject: Re: revisiting unix domain sockets
Next
From: Dave Cramer
Date:
Subject: Re: Master branch compile error using 1.5 spec.