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)
commit416efe39bee2b76e5cb187d9d29717eca581e296
tree5bd38608d4423fafab871db9113dca14ed16e841
parent46f7c42bd45c65fc470b834c93580e91e1323a18
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