diff options
author | Tom Lane | 2007-12-11 02:31:49 +0000 |
---|---|---|
committer | Tom Lane | 2007-12-11 02:31:49 +0000 |
commit | 4192f2d85a8946cbbe890217ee740d33c04f3761 (patch) | |
tree | 8d8c88a7ad6d4abebff0601913affe22e706e088 /doc/src | |
parent | 5eb56611e3053c2d64f04eb9932a67d314647ecc (diff) |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/oid2name.sgml | 8 | ||||
-rw-r--r-- | doc/src/sgml/pgbench.sgml | 7 |
2 files changed, 2 insertions, 13 deletions
diff --git a/doc/src/sgml/oid2name.sgml b/doc/src/sgml/oid2name.sgml index eb91827c7bf..d2ab3f4c226 100644 --- a/doc/src/sgml/oid2name.sgml +++ b/doc/src/sgml/oid2name.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/oid2name.sgml,v 1.3 2007/12/10 05:32:51 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/oid2name.sgml,v 1.4 2007/12/11 02:31:49 tgl Exp $ --> <sect1 id="oid2name"> <title>oid2name</title> @@ -110,12 +110,6 @@ <entry><literal>-U</literal> <replaceable>username</></entry> <entry>username to connect as</entry> </row> - - <row> - <entry><literal>-P</literal> <replaceable>password</></entry> - <entry>password (deprecated — putting this on the command line - is a security hazard)</entry> - </row> </tbody> </tgroup> </table> diff --git a/doc/src/sgml/pgbench.sgml b/doc/src/sgml/pgbench.sgml index be089f8836d..61d159e6d8d 100644 --- a/doc/src/sgml/pgbench.sgml +++ b/doc/src/sgml/pgbench.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/pgbench.sgml,v 1.4 2007/12/10 05:32:51 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/pgbench.sgml,v 1.5 2007/12/11 02:31:49 tgl Exp $ --> <sect1 id="pgbench"> <title>pgbench</title> @@ -282,11 +282,6 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</> <entry><literal>-U</literal> <replaceable>login</></entry> <entry>username to connect as</entry> </row> - <row> - <entry><literal>-P</literal> <replaceable>password</></entry> - <entry>password (deprecated — putting this on the command line - is a security hazard)</entry> - </row> </tbody> </tgroup> </table> |