pg_dumpall needs to connect several
times to the
PostgreSQL server (once per
- database). If you use password authentication it is likely to ask for
+ database). If you use password authentication it will ask for
a password each time. It is convenient to have a
~/.pgpass> file in such cases. See
linkend="libpq-pgpass"> for more information.
--username=username
- Connect as the given user.
+ User name to connect as.
--password
- Force a password prompt. This should happen automatically if
- the server requires password authentication.
+ Force
pg_dumpall to prompt for a
+ password before connecting to a database.
+
+
+ This option is never essential, since
+
pg_dumpall will automatically prompt
+ for a password if the server demands password authentication.
+ However,
pg_dumpall will waste a
+ connection attempt finding out that the server wants a password.
+ In some cases it is worth typing
+ connection attempt.
+
+
+ Note that the password prompt will occur again for each database
+ to be dumped. Usually, it's better to set up a
+ ~/.pgpass> file than to rely on manual password entry.
-
+
- Connect as the given user.
+ User name to connect as.
- Force a password prompt. This should happen automatically if
- the server requires password authentication.
+ Force
pg_restore to prompt for a
+ password before connecting to a database.
+
+
+ This option is never essential, since
+
pg_restore will automatically prompt
+ for a password if the server demands password authentication.
+ However,
pg_restore will waste a
+ connection attempt finding out that the server wants a password.
+ In some cases it is worth typing
+ connection attempt.
-
Forces psql to prompt for a
- password before connecting to a database.
+
Force psql to prompt for a
+ password before connecting to a database.
-
psql should automatically prompt for a
- password whenever the server requests password authentication.
- However, currently password request detection is not totally
- reliable, hence this option to force a prompt. If no password
- prompt is issued and the server requires password authentication,
- the connection attempt will fail.
+ This option is never essential, since
psql
+ will automatically prompt for a password if the server demands
+ password authentication. However,
psql
+ will waste a connection attempt finding out that the server wants a
+ password. In some cases it is worth typing
+ the extra connection attempt.
- This option will remain set for the entire session, even if you
- change the database connection with the meta-command
- \connect.
+ Note that this option will remain set for the entire session,
+ and so it affects uses of the meta-command
+ \connect as well as the initial connection attempt.
-
- Force password prompt.
+ Force
reindexdb to prompt for a
+ password before connecting to a database.
+
+
+ This option is never essential, since
+
reindexdb will automatically prompt
+ for a password if the server demands password authentication.
+ However,
reindexdb will waste a
+ connection attempt finding out that the server wants a password.
+ In some cases it is worth typing
+ connection attempt.
- User name to connect as
+ User name to connect as.
- Force password prompt.
+ Force
vacuumdb to prompt for a
+ password before connecting to a database.
+
+
+ This option is never essential, since
+
vacuumdb will automatically prompt
+ for a password if the server demands password authentication.
+ However,
vacuumdb will waste a
+ connection attempt finding out that the server wants a password.
+ In some cases it is worth typing
+ connection attempt.
-
+
vacuumlo
-
Write a lot of progress messages
+
Write a lot of progress messages.
-
Don't remove anything, just show what would be done
+
Don't remove anything, just show what would be done.
username>
+
Username to connect as.
-
Force prompt for password (generally useless)
+ Force
vacuumlo to prompt for a
+ password before connecting to a database.
+
+
+ This option is never essential, since
+
vacuumlo will automatically prompt
+ for a password if the server demands password authentication.
+ However,
vacuumlo will waste a
+ connection attempt finding out that the server wants a password.
+ In some cases it is worth typing
+ connection attempt.
+
hostname>
+
Database server's host.
port>
+
Database server's port.
*
* Copyright (c) 2000-2007, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.119 2007/11/15 21:14:42 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.120 2007/12/11 19:57:32 tgl Exp $
*/
#include "postgres_fe.h"
if (!env)
env = user;
printf(_(" -U NAME database user name (default: \"%s\")\n"), env);
- puts(_(" -W prompt for password (should happen automatically)"));
+ puts(_(" -W force password prompt (should happen automatically)"));
puts(_(
"\nFor more information, type \"\\?\" (for internal commands) or \"\\help\"\n"
*
* Portions Copyright (c) 2002-2007, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/scripts/clusterdb.c,v 1.18 2007/06/04 10:02:40 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/clusterdb.c,v 1.19 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as\n"));
- printf(_(" -W, --password prompt for password\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_("\nRead the description of the SQL command CLUSTER for details.\n"));
printf(_("\nReport bugs to
.\n"));
}
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/createdb.c,v 1.24 2007/10/13 20:18:41 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/createdb.c,v 1.25 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as\n"));
- printf(_(" -W, --password prompt for password\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_("\nBy default, a database with the same name as the current user is created.\n"));
printf(_("\nReport bugs to
.\n"));
}
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.26 2007/08/10 00:39:31 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.27 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as\n"));
- printf(_(" -W, --password prompt for password\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_(" --help show this help, then exit\n"));
printf(_(" --version output version information, then exit\n"));
printf(_("\nReport bugs to
.\n"));
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.36 2007/06/04 10:02:40 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.37 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as (not the one to create)\n"));
- printf(_(" -W, --password prompt for password to connect\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_("\nIf one of -s, -S, -d, -D, -r, -R and ROLENAME is not specified, you will\n"
"be prompted interactively.\n"));
printf(_("\nReport bugs to
.\n"));
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/dropdb.c,v 1.20 2007/06/04 10:02:40 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/dropdb.c,v 1.21 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as\n"));
- printf(_(" -W, --password prompt for password\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_(" --help show this help, then exit\n"));
printf(_(" --version output version information, then exit\n"));
printf(_("\nReport bugs to
.\n"));
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/droplang.c,v 1.23 2007/08/10 00:39:31 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/droplang.c,v 1.24 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as\n"));
- printf(_(" -W, --password prompt for password\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_(" --help show this help, then exit\n"));
printf(_(" --version output version information, then exit\n"));
printf(_("\nReport bugs to
.\n"));
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/dropuser.c,v 1.21 2007/06/04 10:02:40 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/dropuser.c,v 1.22 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as (not the one to drop)\n"));
- printf(_(" -W, --password prompt for password to connect\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_(" --help show this help, then exit\n"));
printf(_(" --version output version information, then exit\n"));
printf(_("\nReport bugs to
.\n"));
*
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.11 2007/06/04 10:02:40 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.12 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as\n"));
- printf(_(" -W, --password prompt for password\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_("\nRead the description of the SQL command REINDEX for details.\n"));
printf(_("\nReport bugs to
.\n"));
}
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.18 2007/06/04 10:02:40 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.19 2007/12/11 19:57:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));
printf(_(" -U, --username=USERNAME user name to connect as\n"));
- printf(_(" -W, --password prompt for password\n"));
+ printf(_(" -W, --password force password prompt\n"));
printf(_("\nRead the description of the SQL command VACUUM for details.\n"));
printf(_("\nReport bugs to
.\n"));
}