diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-02-26 16:02:39 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-02-26 16:02:39 +0000 |
commit | 9de59fd191dc86e7a49a5d7726ef09041549fc88 (patch) | |
tree | 9edc44560aa7beca92b7bc6c8e889c78655172c0 /doc/src/sgml/ref/createuser.sgml | |
parent | eea49769d415b00ea36e2ee64774cb4d1313d991 (diff) |
Add a -w/--no-password option that prevents all password prompts to all
programs that have a -W/--password option.
In passing, remove the ancient PSQL_ALWAYS_GET_PASSWORDS compile option.
Diffstat (limited to 'doc/src/sgml/ref/createuser.sgml')
-rw-r--r-- | doc/src/sgml/ref/createuser.sgml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml index 95283e6775a..1e8a1fc3fbd 100644 --- a/doc/src/sgml/ref/createuser.sgml +++ b/doc/src/sgml/ref/createuser.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.51 2007/12/11 19:57:32 tgl Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.52 2009/02/26 16:02:37 petere Exp $ PostgreSQL documentation --> @@ -291,6 +291,21 @@ PostgreSQL documentation </varlistentry> <varlistentry> + <term><option>-w</></term> + <term><option>--no-password</></term> + <listitem> + <para> + Never issue a password prompt. If the server requires + password authentication and a password is not available by + other means such as a <filename>.pgpass</filename> file, the + connection attempt will fail. This option can be useful in + batch jobs and scripts where no user is present to enter a + password. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-W</></term> <term><option>--password</></term> <listitem> |