pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedrevisiting unix domain sockets
7+ messages / 4 participants
[nested] [flat]
* revisiting unix domain sockets
@ 2013-12-17 11:01 Charles Pritchard <chuck@jumis.com>
2013-12-17 12:25 ` Re: revisiting unix domain sockets Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 7+ messages in thread
From: Charles Pritchard @ 2013-12-17 11:01 UTC (permalink / raw)
To: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: revisiting unix domain sockets
2013-12-17 11:01 revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
@ 2013-12-17 12:25 ` Dave Cramer <pg@fastcrypt.com>
2014-01-20 23:51 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
0 siblings, 1 reply; 7+ messages in thread
From: Dave Cramer @ 2013-12-17 12:25 UTC (permalink / raw)
To: Charles Pritchard <chuck@jumis.com>; +Cc: pgsql-jdbc
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> 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
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: revisiting unix domain sockets
2013-12-17 11:01 revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2013-12-17 12:25 ` Re: revisiting unix domain sockets Dave Cramer <pg@fastcrypt.com>
@ 2014-01-20 23:51 ` Charles Pritchard <chuck@jumis.com>
2014-01-23 10:46 ` Re: revisiting unix domain sockets Florian Weimer <fweimer@redhat.com>
0 siblings, 1 reply; 7+ messages in thread
From: Charles Pritchard @ 2014-01-20 23:51 UTC (permalink / raw)
To: Dave Cramer <pg@fastcrypt.com>; +Cc: 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:
> 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
>
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: revisiting unix domain sockets
2013-12-17 11:01 revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2013-12-17 12:25 ` Re: revisiting unix domain sockets Dave Cramer <pg@fastcrypt.com>
2014-01-20 23:51 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
@ 2014-01-23 10:46 ` Florian Weimer <fweimer@redhat.com>
2014-01-23 10:59 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
0 siblings, 1 reply; 7+ messages in thread
From: Florian Weimer @ 2014-01-23 10:46 UTC (permalink / raw)
To: Charles Pritchard <chuck@jumis.com>; Dave Cramer <pg@fastcrypt.com>; +Cc: 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
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: revisiting unix domain sockets
2013-12-17 11:01 revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2013-12-17 12:25 ` Re: revisiting unix domain sockets Dave Cramer <pg@fastcrypt.com>
2014-01-20 23:51 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2014-01-23 10:46 ` Re: revisiting unix domain sockets Florian Weimer <fweimer@redhat.com>
@ 2014-01-23 10:59 ` Charles Pritchard <chuck@jumis.com>
2014-12-30 13:50 ` Re: revisiting unix domain sockets Adam Mackler <pgsql-jdbc@mackler.org>
0 siblings, 1 reply; 7+ messages in thread
From: Charles Pritchard @ 2014-01-23 10:59 UTC (permalink / raw)
To: Florian Weimer <fweimer@redhat.com>; Dave Cramer <pg@fastcrypt.com>; +Cc: 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
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: revisiting unix domain sockets
2013-12-17 11:01 revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2013-12-17 12:25 ` Re: revisiting unix domain sockets Dave Cramer <pg@fastcrypt.com>
2014-01-20 23:51 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2014-01-23 10:46 ` Re: revisiting unix domain sockets Florian Weimer <fweimer@redhat.com>
2014-01-23 10:59 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
@ 2014-12-30 13:50 ` Adam Mackler <pgsql-jdbc@mackler.org>
2014-12-30 15:46 ` Re: revisiting unix domain sockets Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 7+ messages in thread
From: Adam Mackler @ 2014-12-30 13:50 UTC (permalink / raw)
To: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: revisiting unix domain sockets
2013-12-17 11:01 revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2013-12-17 12:25 ` Re: revisiting unix domain sockets Dave Cramer <pg@fastcrypt.com>
2014-01-20 23:51 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2014-01-23 10:46 ` Re: revisiting unix domain sockets Florian Weimer <fweimer@redhat.com>
2014-01-23 10:59 ` Re: revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2014-12-30 13:50 ` Re: revisiting unix domain sockets Adam Mackler <pgsql-jdbc@mackler.org>
@ 2014-12-30 15:46 ` Dave Cramer <pg@fastcrypt.com>
0 siblings, 0 replies; 7+ messages in thread
From: Dave Cramer @ 2014-12-30 15:46 UTC (permalink / raw)
To: Adam Mackler <pgsql-jdbc@mackler.org>; +Cc: pgsql-jdbc
I have yet to see a Pull Request.
If you are interested please contact me off list
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
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
>
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2014-12-30 15:46 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-12-17 11:01 revisiting unix domain sockets Charles Pritchard <chuck@jumis.com>
2013-12-17 12:25 ` Dave Cramer <pg@fastcrypt.com>
2014-01-20 23:51 ` Charles Pritchard <chuck@jumis.com>
2014-01-23 10:46 ` Florian Weimer <fweimer@redhat.com>
2014-01-23 10:59 ` Charles Pritchard <chuck@jumis.com>
2014-12-30 13:50 ` Adam Mackler <pgsql-jdbc@mackler.org>
2014-12-30 15:46 ` Dave Cramer <pg@fastcrypt.com>
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