Re: supporting any/all connection types including unix domain sockets - Mailing list pgsql-jdbc

From Luca Ferrari
Subject Re: supporting any/all connection types including unix domain sockets
Date
Msg-id CAKoxK+471f=51qW=fS+9RCDgY7sk+Kj7fMHQ4GZV++jK3pGP=Q@mail.gmail.com
Whole thread Raw
In response to supporting any/all connection types including unix domain sockets  (Travis Wellman <travis@traviswellman.com>)
Responses Re: supporting any/all connection types including unix domain sockets  (Travis Wellman <travis@traviswellman.com>)
List pgsql-jdbc
On Mon, Jul 13, 2015 at 7:51 PM, Travis Wellman
<travis@traviswellman.com> wrote:
> I'm writing an app using JavaFX to connect to arbitrary PostgreSQL
> nodes and take generic and introspective actions. Ideally the user
> should be able to connect via all previously configured means. Has
> anyone used Java to connect to a Postgres instance via the unix domain
> socket? Any source I can view?

I guess you have to reimplement the protocol used for instance in libpq.
I'm not sure this is a winning choice, why not using the JDBC
connection mechanism?

Luca


pgsql-jdbc by date:

Previous
From: Travis Wellman
Date:
Subject: supporting any/all connection types including unix domain sockets
Next
From: Travis Wellman
Date:
Subject: Re: supporting any/all connection types including unix domain sockets