pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Connecting over UNIX domain sockets
Date: Tue, 08 Feb 2011 10:04:31 -0800
Message-ID: <4D5185AF.4070804@hogranch.com> (raw)
In-Reply-To: <82ei7i37ao.fsf@mid.bfk.de>
References: <82ei7i37ao.fsf@mid.bfk.de>

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.







view thread (7+ messages)  latest in thread

Message-ID: <4D5185AF.4070804@hogranch.com>
Permalink:  ../4D5185AF.4070804@hogranch.com/
Also on:    postgresql.org/message-id/4D5185AF.4070804@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: Connecting over UNIX domain sockets
  In-Reply-To: <4D5185AF.4070804@hogranch.com>
  References: <82ei7i37ao.fsf@mid.bfk.de> <4D5185AF.4070804@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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