Re: [BUGS] pg_service.conf ignores dbname parameter

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Michael Fuhr <mfuhr(at)fuhr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUGS] pg_service.conf ignores dbname parameter
Date: 2003-12-19 23:30:26
Message-ID: 200312192330.hBJNUQo20122@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> BTW, why is it that pg_service.conf is system-wide? Personally I'd
> >> think it more useful to seek settings in ~/.pg_service.conf.
>
> > Perhaps the solution is to allow an environment variable to point to the
> > services file.
>
> Peter was after a no-environment-variable solution, so I don't think
> he'll like that one.

I thought he was more concerned about removing envirnment variables that
have to be tuned for each user. Let's see how he responds.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2003-12-19 23:32:31 Re: pg_service.conf ignores dbname parameter
Previous Message Tom Lane 2003-12-19 23:24:21 Re: pg_service.conf ignores dbname parameter

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-19 23:32:31 Re: pg_service.conf ignores dbname parameter
Previous Message Bruce Momjian 2003-12-19 23:28:06 Re: ecpg tests compile failure