pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Langley <slangley@scharp.org>
To: pgsql-jdbc@postgresql.org
Cc: cbbrowne@gmail.com
Subject: Re: JDBC / pgpass
Date: Mon, 26 Jul 2010 10:28:55 -0700
Message-ID: <4C4DC5D7.3060004@scharp.org> (raw)
In-Reply-To: <AANLkTinxC4Bi6diDrLnNkzmMtZj4o9LOwTQwnB80sH4K@mail.gmail.com>
References: <AANLkTinxC4Bi6diDrLnNkzmMtZj4o9LOwTQwnB80sH4K@mail.gmail.com>

Thanks for trying.

I actually coded a implementation that works for me based on code from:

    py-postgresql-0.9.3/postgresql/pgpassfile.py
    pgjdbc/org/postgresql/Driver.java - for JDBC URL parsing
    and making use of the org.apache.commons.csv library - for line parsing.

Now, if someone else wants this code to be released, I'll need to get 
permission from my boss.

Regards,

Scott
-- 
Scott Langley
Systems Analyst/Programmer
Statistical Center for HIV/AIDS Research and Prevention (SCHARP)
Fred Hutchinson Cancer Research Center
Seattle, Washington

slangley@scharp.org
(206) 667-5117
Fax (206) 667-4812


Christopher Browne wrote:
> I spoke with the fellow that had built some integration to read
> .pgpass-formatted data via JDBC; he tells me he won't likely have time
> any time soon to go to the effort of extricating the relevant code
> such that it could be released.  There was apparently no huge issue
> involved in implementing it, so reimplementing shouldn't be notably
> difficult.
>
> Sorry there's no code, but it's frequently at least worth asking.
>
>   




Message-ID: <4C4DC5D7.3060004@scharp.org>
Permalink:  ../4C4DC5D7.3060004@scharp.org/
Also on:    postgresql.org/message-id/4C4DC5D7.3060004@scharp.org

 · 

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: slangley@scharp.org, cbbrowne@gmail.com
  Subject: Re: JDBC / pgpass
  In-Reply-To: <4C4DC5D7.3060004@scharp.org>
  References: <AANLkTinxC4Bi6diDrLnNkzmMtZj4o9LOwTQwnB80sH4K@mail.gmail.com> <4C4DC5D7.3060004@scharp.org>

* 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