pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Woody Woodring <george.woodring@iglass.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: pg_service.conf ?
Date: Tue, 14 Mar 2006 14:04:58 -0500
Message-ID: <028801c6479a$2ff1a8a0$80b1a8c0@istructure.com> (raw)
In-Reply-To: <8764mhrmns.fsf@wolfe.cbbrowne.com>

According to the 8.1 documentation, libpq looks in $PGSYSCONFDIR. As a user
it would make sense to me if JDBC looked at the same environment variable.

Woody
 

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Christopher Browne
Sent: Tuesday, March 14, 2006 11:56 AM
To: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] pg_service.conf ?

In an attempt to throw the authorities off his trail, pg@fastcrypt.com (Dave
Cramer) transmitted:
> Ever wanted to retract an email after you sent it ? I realized the 
> complete stupidity of that statement 30 seconds after I hit send

Well, this is a common enough problem that there are occasions where people
build server-based mechanisms for it...

Oracle has something whose name I misremember where you head to a server to
get the *real* server configuration.

CORBA had this notion with the Naming Service; you start by getting a
connection to a Naming Service object, and then ask where the *real*
services are...

How to do it "right" for JDBC is a good question.  Searching for .pgpass in
$HOME is pretty obvious.  It is less obvious where to search for
pg_service.conf if all that is installed is JDBC, and there is no PostgreSQL
instance around.
--
output = reverse("gro.mca" "@" "enworbbc")
http://linuxdatabases.info/info/internet.html
What do you mean "Why's it got to be built?"  It is a bypass.  You've got to
build bypasses.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq





view thread (23+ messages)  latest in thread

Message-ID: <028801c6479a$2ff1a8a0$80b1a8c0@istructure.com>
Permalink:  ../028801c6479a$2ff1a8a0$80b1a8c0@istructure.com/
Also on:    postgresql.org/message-id/028801c6479a$2ff1a8a0$80b1a8c0@istructure.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: george.woodring@iglass.net
  Subject: Re: pg_service.conf ?
  In-Reply-To: <028801c6479a$2ff1a8a0$80b1a8c0@istructure.com>
  References: <8764mhrmns.fsf@wolfe.cbbrowne.com> <028801c6479a$2ff1a8a0$80b1a8c0@istructure.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