Skip site navigation (1) Skip section navigation (2)

Re: psql: default base and password reading

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bradley McLean <brad(at)bradm(dot)net>
Cc: Adam Osuchowski <adwol(at)polsl(dot)gliwice(dot)pl>, pgsql-patches(at)postgresql(dot)org
Subject: Re: psql: default base and password reading
Date: 2001-10-12 18:17:37
Message-ID: 200110121817.f9CIHcp14442@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
> The password reading patch may be useful, but I suggest that you
> reverse the meaning of the option, so that you do not change the
> current behavior.  This would be a normal practice for backward
> compatibility.

I like the /dev/tty fix.  I assumed we always read passwords from
/dev/tty and not stdin.  I know of no other software that even allows
passwords from stdin.  You usually have to use 'expect' for that very
purpose.  I would not even supply an option to read it from stdin.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-10-12 21:00:59
Subject: Re: Showing index details with \d on psql
Previous:From: Bruce MomjianDate: 2001-10-12 17:54:09
Subject: Re: PG_DUMP NLS (Russian)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group