Fix several problems with simple_prompt() --- the nastiest being that

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4fec55af6c7d688fa78afd1e1fec0f6d0f5b294f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-10-18T21:57:11Z
Releases: 7.2.1
Fix several problems with simple_prompt() --- the nastiest being that
the entered password would get echoed on some platforms, eg HPUX.
We have enough copies of this code that I'm thinking it ought to be
moved into libpq, but that's a task for another day.

Files

PathChange+/−
contrib/dbase/dbf2pg.c modified +55 −26
src/bin/pg_dump/pg_backup_db.c modified +42 −31
src/bin/psql/common.c modified +41 −29