Skip site navigation (1) Skip section navigation (2)

Re: Java .pgpass reader

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Java .pgpass reader
Date: 2010-06-16 19:45:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
slangley(at)scharp(dot)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

That turns out to be not so useful as a "general" solution that would
be included in the JDBC driver :-(.
select 'cbbrowne' || '@' || '';
"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(at)DELETE(dot)fan(dot)nb(dot)ca>

In response to


pgsql-jdbc by date

Next:From: Radosław SmoguraDate: 2010-06-16 20:44:16
Subject: Re: Java .pgpass reader
Previous:From: Kris JurkaDate: 2010-06-16 18:32:47
Subject: Re: Connecting to postgresql using SSPI via JDBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group