Re: pg_service.conf ?

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Christopher Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: pg_service.conf ?
Date: 2006-03-14 13:42:26
Message-ID: 7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)fastcrypt(dot)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(at)cis(dot)ufl(dot)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(at)postgresql(dot)org so that
> your
> message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2006-03-14 15:52:43 Re: pg_service.conf ?
Previous Message Christopher Browne 2006-03-14 12:51:55 Re: pg_service.conf ?