Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1ebff9ba
Commit
1ebff9ba
authored
Dec 11, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make documentation of -W options more accurate and uniform.
parent
1161f1ae
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
224 additions
and
78 deletions
+224
-78
contrib/vacuumlo/vacuumlo.c
contrib/vacuumlo/vacuumlo.c
+2
-2
doc/src/sgml/ref/clusterdb.sgml
doc/src/sgml/ref/clusterdb.sgml
+13
-2
doc/src/sgml/ref/createdb.sgml
doc/src/sgml/ref/createdb.sgml
+14
-3
doc/src/sgml/ref/createlang.sgml
doc/src/sgml/ref/createlang.sgml
+13
-2
doc/src/sgml/ref/createuser.sgml
doc/src/sgml/ref/createuser.sgml
+13
-2
doc/src/sgml/ref/dropdb.sgml
doc/src/sgml/ref/dropdb.sgml
+14
-3
doc/src/sgml/ref/droplang.sgml
doc/src/sgml/ref/droplang.sgml
+14
-3
doc/src/sgml/ref/dropuser.sgml
doc/src/sgml/ref/dropuser.sgml
+14
-4
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dump.sgml
+14
-4
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_dumpall.sgml
+21
-5
doc/src/sgml/ref/pg_restore.sgml
doc/src/sgml/ref/pg_restore.sgml
+14
-4
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/psql-ref.sgml
+12
-13
doc/src/sgml/ref/reindexdb.sgml
doc/src/sgml/ref/reindexdb.sgml
+12
-1
doc/src/sgml/ref/vacuumdb.sgml
doc/src/sgml/ref/vacuumdb.sgml
+14
-3
doc/src/sgml/vacuumlo.sgml
doc/src/sgml/vacuumlo.sgml
+20
-7
src/bin/psql/help.c
src/bin/psql/help.c
+2
-2
src/bin/scripts/clusterdb.c
src/bin/scripts/clusterdb.c
+2
-2
src/bin/scripts/createdb.c
src/bin/scripts/createdb.c
+2
-2
src/bin/scripts/createlang.c
src/bin/scripts/createlang.c
+2
-2
src/bin/scripts/createuser.c
src/bin/scripts/createuser.c
+2
-2
src/bin/scripts/dropdb.c
src/bin/scripts/dropdb.c
+2
-2
src/bin/scripts/droplang.c
src/bin/scripts/droplang.c
+2
-2
src/bin/scripts/dropuser.c
src/bin/scripts/dropuser.c
+2
-2
src/bin/scripts/reindexdb.c
src/bin/scripts/reindexdb.c
+2
-2
src/bin/scripts/vacuumdb.c
src/bin/scripts/vacuumdb.c
+2
-2
No files found.
contrib/vacuumlo/vacuumlo.c
View file @
1ebff9ba
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/contrib/vacuumlo/vacuumlo.c,v 1.3
4 2007/12/11 02:08:59
tgl Exp $
* $PostgreSQL: pgsql/contrib/vacuumlo/vacuumlo.c,v 1.3
5 2007/12/11 19:57:32
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -308,7 +308,7 @@ usage(void)
fprintf
(
stdout
,
" -v
\t\t
Write a lot of progress messages
\n
"
);
fprintf
(
stdout
,
" -n
\t\t
Don't remove large objects, just show what would be done
\n
"
);
fprintf
(
stdout
,
" -U username
\t
Username to connect as
\n
"
);
fprintf
(
stdout
,
" -W
\t\t
Prompt for password
\n
"
);
fprintf
(
stdout
,
" -W
\t\t
Force password prompt
\n
"
);
fprintf
(
stdout
,
" -h hostname
\t
Database server host
\n
"
);
fprintf
(
stdout
,
" -p port
\t
Database server port
\n\n
"
);
}
...
...
doc/src/sgml/ref/clusterdb.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.2
2 2007/06/04 10:02:40 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.2
3 2007/12/11 19:57:32 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -164,7 +164,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt.
Force <application>clusterdb</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>clusterdb</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>clusterdb</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/createdb.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createdb.sgml,v 1.4
6 2007/06/21 10:43:09 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/createdb.sgml,v 1.4
7 2007/12/11 19:57:32 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -183,7 +183,7 @@ PostgreSQL documentation
<term><option>--username <replaceable class="parameter">username</replaceable></></term>
<listitem>
<para>
User name to connect as
User name to connect as
.
</para>
</listitem>
</varlistentry>
...
...
@@ -193,7 +193,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt.
Force <application>createdb</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>createdb</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>createdb</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/createlang.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createlang.sgml,v 1.4
1 2007/05/15 19:43:51 neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/createlang.sgml,v 1.4
2 2007/12/11 19:57:32 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -144,7 +144,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt.
Force <application>createlang</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>createlang</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>createlang</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/createuser.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.5
0 2007/06/21 12:20:10 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.5
1 2007/12/11 19:57:32 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -295,9 +295,20 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt (to connect to the server, not for the
Force <application>createuser</application> to prompt for a
password (for connecting to the server, not for the
password of the new user).
</para>
<para>
This option is never essential, since
<application>createuser</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>createuser</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
</variablelist>
...
...
doc/src/sgml/ref/dropdb.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.3
3 2007/06/21 10:43:09 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.3
4 2007/12/11 19:57:32 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -123,7 +123,7 @@ PostgreSQL documentation
<term><option>--username <replaceable class="parameter">username</replaceable></></term>
<listitem>
<para>
User name to connect as
User name to connect as
.
</para>
</listitem>
</varlistentry>
...
...
@@ -133,7 +133,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt.
Force <application>dropdb</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>dropdb</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>dropdb</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/droplang.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/droplang.sgml,v 1.3
0 2007/03/26 17:23:36
tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/droplang.sgml,v 1.3
1 2007/12/11 19:57:32
tgl Exp $
PostgreSQL documentation
-->
...
...
@@ -142,7 +142,7 @@ PostgreSQL documentation
<term><option>--username <replaceable class="parameter">username</replaceable></></term>
<listitem>
<para>
User name to connect as
User name to connect as
.
</para>
</listitem>
</varlistentry>
...
...
@@ -152,7 +152,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt.
Force <application>droplang</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>droplang</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>droplang</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/dropuser.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.3
8 2007/06/21 10:43:09 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.3
9 2007/12/11 19:57:32 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -125,7 +125,7 @@ PostgreSQL documentation
<term><option>--username <replaceable class="parameter">username</replaceable></></term>
<listitem>
<para>
User name to connect as (not the user name to drop)
User name to connect as (not the user name to drop)
.
</para>
</listitem>
</varlistentry>
...
...
@@ -135,8 +135,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt (to connect to the server, not for the
password of the user to be dropped).
Force <application>dropuser</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>dropuser</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>dropuser</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/pg_dump.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.9
7 2007/03/26 17:23:36
tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.9
8 2007/12/11 19:57:32
tgl Exp $
PostgreSQL documentation
-->
...
...
@@ -647,7 +647,7 @@ PostgreSQL documentation
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
<listitem>
<para>
Connect as the given user
.
User name to connect as
.
</para>
</listitem>
</varlistentry>
...
...
@@ -657,8 +657,18 @@ PostgreSQL documentation
<term><option>--password</option></term>
<listitem>
<para>
Force a password prompt. This should happen automatically if
the server requires password authentication.
Force <application>pg_dump</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>pg_dump</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>pg_dump</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/pg_dumpall.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.6
8 2007/03/26 17:23:37
tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.6
9 2007/12/11 19:57:32
tgl Exp $
PostgreSQL documentation
-->
...
...
@@ -59,7 +59,7 @@ PostgreSQL documentation
<para>
<application>pg_dumpall</application> needs to connect several
times to the <productname>PostgreSQL</productname> 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
<filename>~/.pgpass</> file in such cases. See <xref
linkend="libpq-pgpass"> for more information.
...
...
@@ -367,7 +367,7 @@ PostgreSQL documentation
<term>--username=<replaceable>username</replaceable></term>
<listitem>
<para>
Connect as the given user
.
User name to connect as
.
</para>
</listitem>
</varlistentry>
...
...
@@ -377,8 +377,24 @@ PostgreSQL documentation
<term>--password</term>
<listitem>
<para>
Force a password prompt. This should happen automatically if
the server requires password authentication.
Force <application>pg_dumpall</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>pg_dumpall</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>pg_dumpall</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
<para>
Note that the password prompt will occur again for each database
to be dumped. Usually, it's better to set up a
<filename>~/.pgpass</> file than to rely on manual password entry.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/pg_restore.sgml
View file @
1ebff9ba
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.7
1 2007/05/15 19:13:55 neilc
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.7
2 2007/12/11 19:57:32 tgl
Exp $ -->
<refentry id="APP-PGRESTORE">
<refmeta>
...
...
@@ -458,7 +458,7 @@
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
<listitem>
<para>
Connect as the given user
.
User name to connect as
.
</para>
</listitem>
</varlistentry>
...
...
@@ -468,8 +468,18 @@
<term><option>--password</option></term>
<listitem>
<para>
Force a password prompt. This should happen automatically if
the server requires password authentication.
Force <application>pg_restore</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>pg_restore</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>pg_restore</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/psql-ref.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.19
7 2007/12/11 19:01:06
tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.19
8 2007/12/11 19:57:32
tgl Exp $
PostgreSQL documentation
-->
...
...
@@ -406,25 +406,24 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Forces
<application>psql</application> to prompt for a
password before connecting to a database.
Force
<application>psql</application> to prompt for a
password before connecting to a database.
</para>
<para>
<application>psql</application> 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 <application>psql</application>
will automatically prompt for a password if the server demands
password authentication. However, <application>psql</application>
will waste a connection attempt finding out that the server wants a
password. In some cases it is worth typing <option>-W</> to avoid
the extra connection attempt
.
</para>
<para>
This option will remain set for the entire session, even if you
change the database connection with
the meta-command
<command>\connect</command>
.
Note that this option will remain set for the entire session,
and so it affects uses of
the meta-command
<command>\connect</command> as well as the initial connection attempt
.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/reindexdb.sgml
View file @
1ebff9ba
...
...
@@ -186,7 +186,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt.
Force <application>reindexdb</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>reindexdb</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>reindexdb</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/ref/vacuumdb.sgml
View file @
1ebff9ba
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.4
1 2007/06/04 10:02:40 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.4
2 2007/12/11 19:57:32 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -199,7 +199,7 @@ PostgreSQL documentation
<term><option>--username <replaceable class="parameter">username</replaceable></></term>
<listitem>
<para>
User name to connect as
User name to connect as
.
</para>
</listitem>
</varlistentry>
...
...
@@ -209,7 +209,18 @@ PostgreSQL documentation
<term><option>--password</></term>
<listitem>
<para>
Force password prompt.
Force <application>vacuumdb</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>vacuumdb</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>vacuumdb</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
...
...
doc/src/sgml/vacuumlo.sgml
View file @
1ebff9ba
<!-- $PostgreSQL: pgsql/doc/src/sgml/vacuumlo.sgml,v 1.
2 2007/12/06 04:12:10
tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/vacuumlo.sgml,v 1.
3 2007/12/11 19:57:32
tgl Exp $ -->
<sect1 id="vacuumlo">
<title>vacuumlo</title>
...
...
@@ -38,42 +38,55 @@ vacuumlo [options] database [database2 ... databaseN]
<varlistentry>
<term><option>-v</option></term>
<listitem>
<para>Write a lot of progress messages</para>
<para>Write a lot of progress messages
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-n</option></term>
<listitem>
<para>Don't remove anything, just show what would be done</para>
<para>Don't remove anything, just show what would be done
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-U</option> <replaceable>username</></term>
<listitem>
<para>Username to connect as</para>
<para>Username to connect as
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-W</option></term>
<listitem>
<para>Force prompt for password (generally useless)</para>
<para>
Force <application>vacuumlo</application> to prompt for a
password before connecting to a database.
</para>
<para>
This option is never essential, since
<application>vacuumlo</application> will automatically prompt
for a password if the server demands password authentication.
However, <application>vacuumlo</application> will waste a
connection attempt finding out that the server wants a password.
In some cases it is worth typing <option>-W</> to avoid the extra
connection attempt.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-h</option> <replaceable>hostname</></term>
<listitem>
<para>Database server's host</para>
<para>Database server's host
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-p</option> <replaceable>port</></term>
<listitem>
<para>Database server's port</para>
<para>Database server's port
.
</para>
</listitem>
</varlistentry>
</variablelist>
...
...
src/bin/psql/help.c
View file @
1ebff9ba
...
...
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2007, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.1
19 2007/11/15 21:14:42 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.1
20 2007/12/11 19:57:32 tgl
Exp $
*/
#include "postgres_fe.h"
...
...
@@ -132,7 +132,7 @@ usage(void)
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
(
_
(
"
\n
For more information, type
\"\\
?
\"
(for internal commands) or
\"\\
help
\"\n
"
...
...
src/bin/scripts/clusterdb.c
View file @
1ebff9ba
...
...
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 2002-2007, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/scripts/clusterdb.c,v 1.1
8 2007/06/04 10:02:40 petere
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/clusterdb.c,v 1.1
9 2007/12/11 19:57:32 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -236,7 +236,7 @@ help(const char *progname)
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
(
_
(
"
\n
Read the description of the SQL command CLUSTER for details.
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
}
src/bin/scripts/createdb.c
View file @
1ebff9ba
...
...
@@ -5,7 +5,7 @@
* 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.2
4 2007/10/13 20:18:41
tgl Exp $
* $PostgreSQL: pgsql/src/bin/scripts/createdb.c,v 1.2
5 2007/12/11 19:57:32
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -218,7 +218,7 @@ help(const char *progname)
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
(
_
(
"
\n
By default, a database with the same name as the current user is created.
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
}
src/bin/scripts/createlang.c
View file @
1ebff9ba
...
...
@@ -5,7 +5,7 @@
* 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.2
6 2007/08/10 00:39:31
tgl Exp $
* $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.2
7 2007/12/11 19:57:32
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -212,7 +212,7 @@ help(const char *progname)
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
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
...
...
src/bin/scripts/createuser.c
View file @
1ebff9ba
...
...
@@ -5,7 +5,7 @@
* 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.3
6 2007/06/04 10:02:40 petere
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.3
7 2007/12/11 19:57:32 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -329,7 +329,7 @@ help(const char *progname)
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 connec
t
\n
"
));
printf
(
_
(
" -W, --password
force password promp
t
\n
"
));
printf
(
_
(
"
\n
If one of -s, -S, -d, -D, -r, -R and ROLENAME is not specified, you will
\n
"
"be prompted interactively.
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
...
...
src/bin/scripts/dropdb.c
View file @
1ebff9ba
...
...
@@ -5,7 +5,7 @@
* 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.2
0 2007/06/04 10:02:40 petere
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/dropdb.c,v 1.2
1 2007/12/11 19:57:32 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -145,7 +145,7 @@ help(const char *progname)
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
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
...
...
src/bin/scripts/droplang.c
View file @
1ebff9ba
...
...
@@ -5,7 +5,7 @@
* 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.2
3 2007/08/10 00:39:31
tgl Exp $
* $PostgreSQL: pgsql/src/bin/scripts/droplang.c,v 1.2
4 2007/12/11 19:57:32
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -329,7 +329,7 @@ help(const char *progname)
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
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
...
...
src/bin/scripts/dropuser.c
View file @
1ebff9ba
...
...
@@ -5,7 +5,7 @@
* 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.2
1 2007/06/04 10:02:40 petere
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/dropuser.c,v 1.2
2 2007/12/11 19:57:32 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -144,7 +144,7 @@ help(const char *progname)
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 connec
t
\n
"
));
printf
(
_
(
" -W, --password
force password promp
t
\n
"
));
printf
(
_
(
" --help show this help, then exit
\n
"
));
printf
(
_
(
" --version output version information, then exit
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
...
...
src/bin/scripts/reindexdb.c
View file @
1ebff9ba
...
...
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.1
1 2007/06/04 10:02:40 petere
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.1
2 2007/12/11 19:57:32 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -322,7 +322,7 @@ help(const char *progname)
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
(
_
(
"
\n
Read the description of the SQL command REINDEX for details.
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
}
src/bin/scripts/vacuumdb.c
View file @
1ebff9ba
...
...
@@ -5,7 +5,7 @@
* 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.1
8 2007/06/04 10:02:40 petere
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.1
9 2007/12/11 19:57:32 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -265,7 +265,7 @@ help(const char *progname)
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
(
_
(
"
\n
Read the description of the SQL command VACUUM for details.
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment