Remove the -P options of oid2name and pgbench, as they are security

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

Commit: 4192f2d85a8946cbbe890217ee740d33c04f3761
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-12-11T02:31:49Z
Releases: 8.3.0
Remove the -P options of oid2name and pgbench, as they are security
hazards.  Instead teach these programs to prompt for a password when
necessary, just like all our other programs.
I did not bother to invent -W switches for them, since the return on
investment seems so low.

Files

PathChange+/−
contrib/oid2name/oid2name.c modified +43 −24
contrib/pgbench/pgbench.c modified +40 −26
doc/src/sgml/oid2name.sgml modified +1 −7
doc/src/sgml/pgbench.sgml modified +1 −6