Fix several problems with simple_prompt() --- the nastiest being that
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |