Thread: revisiting unix domain sockets
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
Send a PR and I'll look at it.
On Tue, Dec 17, 2013 at 6:01 AM, Charles Pritchard <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)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-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:
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.On Tue, Dec 17, 2013 at 6:01 AM, Charles Pritchard <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)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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). -- Florian Weimer / Red Hat Product Security Team
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
On 2014-01-23 10:59:48, Charles Pritchard wrote: > > 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 What's the outlook for this feature becoming available? -- Adam Mackler
I have yet to see a Pull Request.
If you are interested please contact me off list
On 30 December 2014 at 08:50, Adam Mackler <pgsql-jdbc@mackler.org> wrote:
On 2014-01-23 10:59:48, Charles Pritchard wrote:
>
> 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
What's the outlook for this feature becoming available?
--
Adam Mackler
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc