Re: supporting any/all connection types including unix domain sockets

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: Travis Wellman <travis(at)traviswellman(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: supporting any/all connection types including unix domain sockets
Date: 2015-07-15 10:42:19
Message-ID: CAKoxK+471f=51qW=fS+9RCDgY7sk+Kj7fMHQ4GZV++jK3pGP=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, Jul 13, 2015 at 7:51 PM, Travis Wellman
<travis(at)traviswellman(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Travis Wellman 2015-07-15 14:07:36 Re: supporting any/all connection types including unix domain sockets
Previous Message Travis Wellman 2015-07-13 17:51:50 supporting any/all connection types including unix domain sockets