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
e5c453ed
Commit
e5c453ed
authored
Sep 30, 2005
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up the help displays.
parent
7df9f55f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
24 deletions
+24
-24
src/bin/scripts/createuser.c
src/bin/scripts/createuser.c
+7
-7
src/bin/scripts/dropuser.c
src/bin/scripts/dropuser.c
+3
-3
src/bin/scripts/reindexdb.c
src/bin/scripts/reindexdb.c
+14
-14
No files found.
src/bin/scripts/createuser.c
View file @
e5c453ed
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.
19 2005/09/30 07:13:54
petere Exp $
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.
20 2005/09/30 07:58:01
petere Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -302,7 +302,7 @@ help(const char *progname)
...
@@ -302,7 +302,7 @@ help(const char *progname)
{
{
printf
(
_
(
"%s creates a new PostgreSQL role.
\n\n
"
),
progname
);
printf
(
_
(
"%s creates a new PostgreSQL role.
\n\n
"
),
progname
);
printf
(
_
(
"Usage:
\n
"
));
printf
(
_
(
"Usage:
\n
"
));
printf
(
_
(
" %s [OPTION]... [
USER
NAME]
\n
"
),
progname
);
printf
(
_
(
" %s [OPTION]... [
ROLE
NAME]
\n
"
),
progname
);
printf
(
_
(
"
\n
Options:
\n
"
));
printf
(
_
(
"
\n
Options:
\n
"
));
printf
(
_
(
" -s, --superuser role will be superuser
\n
"
));
printf
(
_
(
" -s, --superuser role will be superuser
\n
"
));
printf
(
_
(
" -S, --no-superuser role will not be superuser
\n
"
));
printf
(
_
(
" -S, --no-superuser role will not be superuser
\n
"
));
...
@@ -312,9 +312,9 @@ help(const char *progname)
...
@@ -312,9 +312,9 @@ help(const char *progname)
printf
(
_
(
" -R, --no-createrole role cannot create roles
\n
"
));
printf
(
_
(
" -R, --no-createrole role cannot create roles
\n
"
));
printf
(
_
(
" -l, --login role can login (default)
\n
"
));
printf
(
_
(
" -l, --login role can login (default)
\n
"
));
printf
(
_
(
" -L, --no-login role cannot login
\n
"
));
printf
(
_
(
" -L, --no-login role cannot login
\n
"
));
printf
(
_
(
" -i, --inherit role inherits p
ermissions of roles
\n
"
));
printf
(
_
(
" -i, --inherit role inherits p
rivileges of roles it is a
\n
"
printf
(
_
(
" it is a
member of (default)
\n
"
));
"
member of (default)
\n
"
));
printf
(
_
(
" -I, --no-inherit role does not inherit p
ermission
s
\n
"
));
printf
(
_
(
" -I, --no-inherit role does not inherit p
rivilege
s
\n
"
));
printf
(
_
(
" -c, --connection-limit=N connection limit for role (default: no limit)
\n
"
));
printf
(
_
(
" -c, --connection-limit=N connection limit for role (default: no limit)
\n
"
));
printf
(
_
(
" -P, --pwprompt assign a password to new role
\n
"
));
printf
(
_
(
" -P, --pwprompt assign a password to new role
\n
"
));
printf
(
_
(
" -E, --encrypted encrypt stored password
\n
"
));
printf
(
_
(
" -E, --encrypted encrypt stored password
\n
"
));
...
@@ -328,7 +328,7 @@ help(const char *progname)
...
@@ -328,7 +328,7 @@ help(const char *progname)
printf
(
_
(
" -p, --port=PORT database server port
\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
(
_
(
" -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 prompt for password to connect
\n
"
));
printf
(
_
(
"
\n
If one of -s, -S, -d, -D, -r, -R and
USERNAME is not specified,
\n
"
printf
(
_
(
"
\n
If one of -s, -S, -d, -D, -r, -R and
ROLENAME is not specified, you will
\n
"
"you will
be prompted interactively.
\n
"
));
"
be prompted interactively.
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
printf
(
_
(
"
\n
Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
}
}
src/bin/scripts/dropuser.c
View file @
e5c453ed
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/bin/scripts/dropuser.c,v 1.1
5 2005/08/15 02:40:28 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/dropuser.c,v 1.1
6 2005/09/30 07:58:01 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -143,9 +143,9 @@ main(int argc, char *argv[])
...
@@ -143,9 +143,9 @@ main(int argc, char *argv[])
static
void
static
void
help
(
const
char
*
progname
)
help
(
const
char
*
progname
)
{
{
printf
(
_
(
"%s removes a PostgreSQL
user
.
\n\n
"
),
progname
);
printf
(
_
(
"%s removes a PostgreSQL
role
.
\n\n
"
),
progname
);
printf
(
_
(
"Usage:
\n
"
));
printf
(
_
(
"Usage:
\n
"
));
printf
(
_
(
" %s [OPTION]... [
USER
NAME]
\n
"
),
progname
);
printf
(
_
(
" %s [OPTION]... [
ROLE
NAME]
\n
"
),
progname
);
printf
(
_
(
"
\n
Options:
\n
"
));
printf
(
_
(
"
\n
Options:
\n
"
));
printf
(
_
(
" -e, --echo show the commands being sent to the server
\n
"
));
printf
(
_
(
" -e, --echo show the commands being sent to the server
\n
"
));
printf
(
_
(
" -i, --interactive prompt before deleting anything
\n
"
));
printf
(
_
(
" -i, --interactive prompt before deleting anything
\n
"
));
...
...
src/bin/scripts/reindexdb.c
View file @
e5c453ed
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
*
*
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.
1 2005/07/29 15:13:11 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.
2 2005/09/30 07:58:01 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
...
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