Re: revisiting unix domain sockets

From: Charles Pritchard <chuck(at)jumis(dot)com>
To: Florian Weimer <fweimer(at)redhat(dot)com>, Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: revisiting unix domain sockets
Date: 2014-01-23 10:59:48
Message-ID: 52E0F624.5060101@jumis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2014-01-24 15:38:28 Re: Master branch compile error using 1.5 spec.
Previous Message Florian Weimer 2014-01-23 10:46:42 Re: revisiting unix domain sockets