pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: pg_service.conf ?
Date: Tue, 14 Mar 2006 08:42:26 -0500
Message-ID: <7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.com> (raw)
In-Reply-To: <87bqw9rxxw.fsf@wolfe.cbbrowne.com>
References: <20060314032306.GA6901@fetter.org>
	<6E83976B-8045-45F0-8CE9-254594635224@fastcrypt.com>
	<20060314053058.GA10533@fetter.org>
	<9D3A667E-AA13-45A8-AE11-073FDB194585@fastcrypt.com>
	<87bqw9rxxw.fsf@wolfe.cbbrowne.com>

Ever wanted to retract an email after you sent it ? I realized the  
complete stupidity of that statement 30 seconds after I hit send

Dave
On 14-Mar-06, at 7:51 AM, Christopher Browne wrote:

> In the last exciting episode, pg@fastcrypt.com (Dave Cramer) wrote:
>> David.
>>
>> OK, so as I understand it the client would be responsible for
>> finding, parsing this file and reading the appropriate section.
>>
>> Assuming the PGSYSCONFDIR environment variable is setup properly and
>> the driver has access to the file this would work.
>>
>> This would be a lot easier if the server managed this file.
>
> Unfortunately, that represents a recursive need.  pg_service.conf is
> used to determine where the server might be, so you need to read it
> before you can know where the server is...
>
> Note that libpq takes the perspective that pg_service.conf should live
> in the ../etc directory for the PostgreSQL build.  Thus, if psql is
> living as /opt/dbs/pgsql825/bin/psql, then this would be in
> /opt/dbs/pgsql825/etc/pg_service.conf.
> -- 
> let name="cbbrowne" and tld="cbbrowne.com" in String.concat  
> "@" [name;tld];;
> http://linuxdatabases.info/info/rdbms.html
> linux: the choice of a GNU generation
> (ksh@cis.ufl.edu put this on Tshirts in '93)
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that  
> your
>        message can get through to the mailing list cleanly
>




view thread (23+ messages)  latest in thread

Message-ID: <7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.com>
Permalink:  ../7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.com/
Also on:    postgresql.org/message-id/7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.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: pg@fastcrypt.com, cbbrowne@acm.org
  Subject: Re: pg_service.conf ?
  In-Reply-To: <7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.com>
  References: <20060314032306.GA6901@fetter.org> <6E83976B-8045-45F0-8CE9-254594635224@fastcrypt.com> <20060314053058.GA10533@fetter.org> <9D3A667E-AA13-45A8-AE11-073FDB194585@fastcrypt.com> <87bqw9rxxw.fsf@wolfe.cbbrowne.com> <7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.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