Re: Java .pgpass reader - Mailing list pgsql-jdbc

From Chris Browne
Subject Re: Java .pgpass reader
Date
Msg-id 87bpbaoj7e.fsf@cbbrowne-laptop.afilias-int.info
Whole thread Raw
In response to Java .pgpass reader  (Scott Langley <slangley@scharp.org>)
Responses Re: Java .pgpass reader
List pgsql-jdbc
slangley@scharp.org (Scott Langley) writes:
> Did anyone ever implement code in Java to read Postgres configuration
> information from a user's .pgpass file - or a more general
> pg_service.conf - as discussed in this thread back in 2006?

We've done this; it turned out to be something to do not at the level
of an individual connection, but rather in a connection pool
implementation.

That turns out to be not so useful as a "general" solution that would
be included in the JDBC driver :-(.
--
select 'cbbrowne' || '@' || 'cbbrowne.com';
http://cbbrowne.com/info/internet.html
"MS  apparently now  has a  team dedicated  to tracking  problems with
Linux  and publicizing them.   I guess  eventually they'll  figure out
this back fires... ;)" -- William Burrow <aa126@DELETE.fan.nb.ca>

pgsql-jdbc by date:

Previous
From: Scott Langley
Date:
Subject: Java .pgpass reader
Next
From: "Craig Wilson"
Date:
Subject: pljava and postgresql 8.4.4 compile errors