Re: Connecting over UNIX domain sockets

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Connecting over UNIX domain sockets
Date: 2011-02-08 18:04:31
Message-ID: 4D5185AF.4070804@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 02/08/11 6:55 AM, Florian Weimer wrote:
> I would like to have the option to connect to the database over UNIX
> domain sockets (sidestepping the question of password management).
>
> Even though the JVM knows about UNIX domain sockets, this
> functionality is not exposed to user code, so we'd have to add some
> JNI code. Would you like to integrate this in some way? If yes,
> would you prefer a socket-based or libpq-based approach?

socket based would require less work, as you'd just add that to the
existing socket code, while using libpq would essentially end up with an
entirely different JDBC.

managing and installing JNI based code across platforms is a pain in the
sternum.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message RW Shore 2011-02-08 19:36:53 Bug in handling of money type
Previous Message Radosław Smogura 2011-02-08 15:18:28 Re: ResultSet.getClob() causing problems when used with JPA's @Lob