From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove the -P options of oid2name and pgbench, as they are |
Date: | 2007-12-11 02:31:49 |
Message-ID: | 20071211023149.938277540F0@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/contrib/oid2name:
oid2name.c (r1.32 -> r1.33)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/oid2name/oid2name.c?r1=1.32&r2=1.33)
pgsql/contrib/pgbench:
pgbench.c (r1.74 -> r1.75)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c?r1=1.74&r2=1.75)
pgsql/doc/src/sgml:
oid2name.sgml (r1.3 -> r1.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/oid2name.sgml?r1=1.3&r2=1.4)
pgbench.sgml (r1.4 -> r1.5)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/pgbench.sgml?r1=1.4&r2=1.5)
From | Date | Subject | |
---|---|---|---|
Next Message | User Gleu | 2007-12-11 07:07:05 | pginstaller - pginst: Update french xml file. |
Previous Message | Tom Lane | 2007-12-11 02:09:00 | pgsql: Make vacuumlo prompt for password when needed, thus making its -W |