pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Charles Pritchard <chuck@jumis.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: revisiting unix domain sockets
Date: Mon, 20 Jan 2014 15:51:57 -0800
Message-ID: <52DDB69D.1000008@jumis.com> (raw)
In-Reply-To: <CADK3HHJrM3e5i2ST0NC87t00oh+Y07jWAnuiis-bEjBk+SH0eQ@mail.gmail.com>
References: <52B02F16.7060409@jumis.com>
	<CADK3HHJrM3e5i2ST0NC87t00oh+Y07jWAnuiis-bEjBk+SH0eQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Here's a quick diff if anyone is interested.
https://gist.github.com/Downchuck/8531692

Needs JNA in the class path. Seems to work.

We've released this under the same license as pgjdbc.
https://github.com/pgjdbc/pgjdbc/blob/master/LICENSE

Uses ?unixSocket= as the parameter for the path.


-Charles


On 12/17/2013 4:25 AM, Dave Cramer wrote:
> Send a PR and I'll look at it.
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Tue, Dec 17, 2013 at 6:01 AM, Charles Pritchard <chuck@jumis.com 
> <mailto:chuck@jumis.com>> wrote:
>
>     Has there been any movement and-or push back around supporting
>     unix domain sockets within the connection string? I've seen simple
>     patches on the web to add support- it seems like a trivial matter,
>     is there a design consideration or other issue outstanding?
>
>     Example of using JNA for unix domain sockets:
>     http://www.productivity.org/projects/mysqlunixsocket/MysqlUnixSocketFactory.java
>
>     -Charles
>
>
>     -- 
>     Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org
>     <mailto:pgsql-jdbc@postgresql.org>)
>     To make changes to your subscription:
>     http://www.postgresql.org/mailpref/pgsql-jdbc
>
>

view thread (7+ messages)  latest in thread

Message-ID: <52DDB69D.1000008@jumis.com>
Permalink:  ../52DDB69D.1000008@jumis.com/
Also on:    postgresql.org/message-id/52DDB69D.1000008@jumis.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: chuck@jumis.com, pg@fastcrypt.com
  Subject: Re: revisiting unix domain sockets
  In-Reply-To: <52DDB69D.1000008@jumis.com>
  References: <52B02F16.7060409@jumis.com> <CADK3HHJrM3e5i2ST0NC87t00oh+Y07jWAnuiis-bEjBk+SH0eQ@mail.gmail.com> <52DDB69D.1000008@jumis.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox