Remove the -P options of oid2name and pgbench, as they are security
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Dec 2007 02:31:49 +0000 (02:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Dec 2007 02:31:49 +0000 (02:31 +0000)
commit4192f2d85a8946cbbe890217ee740d33c04f3761
tree8d8c88a7ad6d4abebff0601913affe22e706e088
parent5eb56611e3053c2d64f04eb9932a67d314647ecc
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.
contrib/oid2name/oid2name.c
contrib/pgbench/pgbench.c
doc/src/sgml/oid2name.sgml
doc/src/sgml/pgbench.sgml