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
510860a6
Commit
510860a6
authored
May 20, 2012
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small cleanups of contrib --help output
parent
9c64f395
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
contrib/pg_archivecleanup/pg_archivecleanup.c
contrib/pg_archivecleanup/pg_archivecleanup.c
+5
-5
contrib/pg_standby/pg_standby.c
contrib/pg_standby/pg_standby.c
+3
-3
contrib/pgbench/pgbench.c
contrib/pgbench/pgbench.c
+1
-1
No files found.
contrib/pg_archivecleanup/pg_archivecleanup.c
View file @
510860a6
...
@@ -248,11 +248,11 @@ usage(void)
...
@@ -248,11 +248,11 @@ usage(void)
printf
(
"Usage:
\n
"
);
printf
(
"Usage:
\n
"
);
printf
(
" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE
\n
"
,
progname
);
printf
(
" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE
\n
"
,
progname
);
printf
(
"
\n
Options:
\n
"
);
printf
(
"
\n
Options:
\n
"
);
printf
(
" -d
generates
debug output (verbose mode)
\n
"
);
printf
(
" -d
generate
debug output (verbose mode)
\n
"
);
printf
(
" -n
shows the names of the files that would have been removed (dry-run)
\n
"
);
printf
(
" -n
dry run, show the names of the files that would be removed
\n
"
);
printf
(
" -x EXT cleanup files if they have this same
extension
\n
"
);
printf
(
" -x EXT clean up files if they have this
extension
\n
"
);
printf
(
" --help
show this help, then exit
\n
"
);
printf
(
" --help show this help, then exit
\n
"
);
printf
(
" --version
output version information, then exit
\n
"
);
printf
(
" --version output version information, then exit
\n
"
);
printf
(
"
\n
"
printf
(
"
\n
"
"For use as archive_cleanup_command in recovery.conf when standby_mode = on:
\n
"
"For use as archive_cleanup_command in recovery.conf when standby_mode = on:
\n
"
" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'
\n
"
" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'
\n
"
...
...
contrib/pg_standby/pg_standby.c
View file @
510860a6
...
@@ -517,16 +517,16 @@ usage(void)
...
@@ -517,16 +517,16 @@ usage(void)
printf
(
"Usage:
\n
"
);
printf
(
"Usage:
\n
"
);
printf
(
" %s [OPTION]... ARCHIVELOCATION NEXTWALFILE XLOGFILEPATH [RESTARTWALFILE]
\n
"
,
progname
);
printf
(
" %s [OPTION]... ARCHIVELOCATION NEXTWALFILE XLOGFILEPATH [RESTARTWALFILE]
\n
"
,
progname
);
printf
(
"
\n
Options:
\n
"
);
printf
(
"
\n
Options:
\n
"
);
printf
(
" -c cop
ies
file from archive (default)
\n
"
);
printf
(
" -c cop
y
file from archive (default)
\n
"
);
printf
(
" -d generate lots of debugging output (testing only)
\n
"
);
printf
(
" -d generate lots of debugging output (testing only)
\n
"
);
printf
(
" -k NUMFILESTOKEEP if RESTARTWALFILE
not used, removes
files prior to limit
\n
"
printf
(
" -k NUMFILESTOKEEP if RESTARTWALFILE
is not used, remove
files prior to limit
\n
"
" (0 keeps all)
\n
"
);
" (0 keeps all)
\n
"
);
printf
(
" -l does nothing; use of link is now deprecated
\n
"
);
printf
(
" -l does nothing; use of link is now deprecated
\n
"
);
printf
(
" -r MAXRETRIES max number of times to retry, with progressive wait
\n
"
printf
(
" -r MAXRETRIES max number of times to retry, with progressive wait
\n
"
" (default=3)
\n
"
);
" (default=3)
\n
"
);
printf
(
" -s SLEEPTIME seconds to wait between file checks (min=1, max=60,
\n
"
printf
(
" -s SLEEPTIME seconds to wait between file checks (min=1, max=60,
\n
"
" default=5)
\n
"
);
" default=5)
\n
"
);
printf
(
" -t TRIGGERFILE
defines a
trigger file to initiate failover (no default)
\n
"
);
printf
(
" -t TRIGGERFILE trigger file to initiate failover (no default)
\n
"
);
printf
(
" -w MAXWAITTIME max seconds to wait for a file (0=no limit) (default=0)
\n
"
);
printf
(
" -w MAXWAITTIME max seconds to wait for a file (0=no limit) (default=0)
\n
"
);
printf
(
" --help show this help, then exit
\n
"
);
printf
(
" --help show this help, then exit
\n
"
);
printf
(
" --version output version information, then exit
\n
"
);
printf
(
" --version output version information, then exit
\n
"
);
...
...
contrib/pgbench/pgbench.c
View file @
510860a6
...
@@ -357,7 +357,7 @@ usage(const char *progname)
...
@@ -357,7 +357,7 @@ usage(const char *progname)
" -f FILENAME read transaction script from FILENAME
\n
"
" -f FILENAME read transaction script from FILENAME
\n
"
" -j NUM number of threads (default: 1)
\n
"
" -j NUM number of threads (default: 1)
\n
"
" -l write transaction times to log file
\n
"
" -l write transaction times to log file
\n
"
" -M
{simple|extended|prepared}
\n
"
" -M
simple|extended|prepared
\n
"
" protocol for submitting queries to server (default: simple)
\n
"
" protocol for submitting queries to server (default: simple)
\n
"
" -n do not run VACUUM before tests
\n
"
" -n do not run VACUUM before tests
\n
"
" -N do not update tables
\"
pgbench_tellers
\"
and
\"
pgbench_branches
\"\n
"
" -N do not update tables
\"
pgbench_tellers
\"
and
\"
pgbench_branches
\"\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