Re: PGPASSWORDFILE env var for libpq

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)atentus(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: PGPASSWORDFILE env var for libpq
Date: 2002-08-12 15:59:36
Message-ID: 1029167997.460.18.camel@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Mon, 2002-08-12 at 10:53, Bruce Momjian wrote:
> Larry Rosenman wrote:
> > > Shame we couldn't do that will the 'reading password from /dev/tty'
> > > change we made in 7.2. I guess we could have had an environment
> > > variable control it, but that is kind of weird.
> > make sure the fact that PGPASSWORD is going away is ***PROMINENT*** in
> > the release notes and README and anywhere PGPASSWORD is documented. If
> > in fact, given TGL's objection, that it will go away in 7.4.
>
> Did you find the documentation that LIMIT #,# was being removed in 7.3
> to be prominent in 7.2?
Sort of. I only see it in the history file.....
>
> The only way to do PGPASSWORD right would be to test OS's to see which
> one's have secure environment variables.
SYSV based systems seem to, although those with Linux Personalities
grafted on may break that (e.g. OpenUNIX).

>
> --
> 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
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Ulrich Neumann 2002-08-12 16:00:52 Patch for unreleased memory in buf_init.c
Previous Message Bruce Momjian 2002-08-12 15:53:50 Re: PGPASSWORDFILE env var for libpq