Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W6I0t-0008Bj-Ui for pgsql-jdbc@arkaria.postgresql.org; Thu, 23 Jan 2014 11:00:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W6I0t-0001pj-7N for pgsql-jdbc@arkaria.postgresql.org; Thu, 23 Jan 2014 10:59:59 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W6I0s-0001pc-84 for pgsql-jdbc@postgresql.org; Thu, 23 Jan 2014 10:59:58 +0000 Received: from api.jumis.com ([216.211.133.46] helo=w46.jumis.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W6I0k-0006Jw-Dr for pgsql-jdbc@postgresql.org; Thu, 23 Jan 2014 10:59:57 +0000 Received: (qmail 14220 invoked from network); 23 Jan 2014 02:52:00 -0800 Received: from c-98-232-8-78.hsd1.wa.comcast.net (HELO ?192.168.1.122?) (chuck@98.232.8.78) by w46.jumis.com with SMTP; 23 Jan 2014 02:52:00 -0800 Message-ID: <52E0F624.5060101@jumis.com> Date: Thu, 23 Jan 2014 02:59:48 -0800 From: Charles Pritchard User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Florian Weimer , Dave Cramer CC: List Subject: Re: revisiting unix domain sockets References: <52B02F16.7060409@jumis.com> <52DDB69D.1000008@jumis.com> <52E0F312.9040608@redhat.com> In-Reply-To: <52E0F312.9040608@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.3 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc