From 4192f2d85a8946cbbe890217ee740d33c04f3761 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 11 Dec 2007 02:31:49 +0000 Subject: 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. --- doc/src/sgml/oid2name.sgml | 8 +------- doc/src/sgml/pgbench.sgml | 7 +------ 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'doc/src') 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 @@ - + oid2name @@ -110,12 +110,6 @@ -U username username to connect as - - - -P password - password (deprecated — putting this on the command line - is a security hazard) - 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 @@ - + pgbench @@ -282,11 +282,6 @@ pgbench options dbname -U login username to connect as - - -P password - password (deprecated — putting this on the command line - is a security hazard) - -- cgit v1.2.3