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
caf936b0
Commit
caf936b0
authored
8 years ago
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg_ctl: Add long option for -o
Now all normally used options are covered by long options as well.
parent
c709c607
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/ref/pg_ctl-ref.sgml
+2
-0
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_ctl/pg_ctl.c
+2
-1
No files found.
doc/src/sgml/ref/pg_ctl-ref.sgml
View file @
caf936b0
...
...
@@ -301,6 +301,7 @@ PostgreSQL documentation
<varlistentry>
<term><option>-o <replaceable class="parameter">options</replaceable></option></term>
<term><option>--options=<replaceable class="parameter">options</replaceable></option></term>
<listitem>
<para>
Specifies options to be passed directly to the
...
...
@@ -316,6 +317,7 @@ PostgreSQL documentation
<varlistentry>
<term><option>-o <replaceable class="parameter">initdb-options</replaceable></option></term>
<term><option>--options=<replaceable class="parameter">initdb-options</replaceable></option></term>
<listitem>
<para>
Specifies options to be passed directly to the
...
...
This diff is collapsed.
Click to expand it.
src/bin/pg_ctl/pg_ctl.c
View file @
caf936b0
...
...
@@ -1972,7 +1972,7 @@ do_help(void)
printf
(
_
(
" -c, --core-files not applicable on this platform
\n
"
));
#endif
printf
(
_
(
" -l, --log=FILENAME write (or append) server log to FILENAME
\n
"
));
printf
(
_
(
" -o
OPTIONS
command line options to pass to postgres
\n
"
printf
(
_
(
" -o
, --options=OPTIONS
command line options to pass to postgres
\n
"
" (PostgreSQL server executable) or initdb
\n
"
));
printf
(
_
(
" -p PATH-TO-POSTGRES normally not necessary
\n
"
));
printf
(
_
(
"
\n
Options for stop or restart:
\n
"
));
...
...
@@ -2171,6 +2171,7 @@ main(int argc, char **argv)
{
"log"
,
required_argument
,
NULL
,
'l'
},
{
"mode"
,
required_argument
,
NULL
,
'm'
},
{
"pgdata"
,
required_argument
,
NULL
,
'D'
},
{
"options"
,
required_argument
,
NULL
,
'o'
},
{
"silent"
,
no_argument
,
NULL
,
's'
},
{
"timeout"
,
required_argument
,
NULL
,
't'
},
{
"core-files"
,
no_argument
,
NULL
,
'c'
},
...
...
This diff is collapsed.
Click to expand it.
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