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
8231a7ab
Commit
8231a7ab
authored
Dec 06, 1999
by
Tatsuo Ishii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor bugs
parent
5b912b08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
src/bin/pg_ctl/pg_ctl.sh
src/bin/pg_ctl/pg_ctl.sh
+16
-5
No files found.
src/bin/pg_ctl/pg_ctl.sh
View file @
8231a7ab
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.
1 1999/12/06 07:23:41
ishii Exp $
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.
2 1999/12/06 08:35:34
ishii Exp $
#
#-------------------------------------------------------------------------
CMDNAME
=
`
basename
$0
`
...
...
@@ -131,6 +131,8 @@ if [ $op = "stop" -o $op = "restart" ];then
echo
"done."
fi
echo
"postmaster successfully shut down."
else
echo
"
$CMDNAME
: Can't find
$PIDFILE
."
echo
"Is postmaster running?"
...
...
@@ -148,13 +150,20 @@ if [ $op = "start" -o $op = "restart" ];then
pid
=
`
cat
$PIDFILE
`
fi
# no -o given
if
[
-z
"
$POSTOPTS
"
]
;
then
if
[
$op
=
"start"
]
;
then
# if we are in start mode, then look postmaster.opts.default
if
[
-f
$DEFPOSTOPTS
]
;
then
eval
`
cat
$DEFPOSTOPTS
`
&
else
echo
"
$CMDNAME
: Can't find
$DEFPOSTOPTS
"
exit
1
fi
else
# if we are in restart mode, then look postmaster.opts
eval
`
cat
$POSTOPTSFILE
`
&
fi
else
$po_path
$POSTOPTS
&
fi
...
...
@@ -186,6 +195,8 @@ if [ $op = "start" -o $op = "restart" ];then
done
echo
"done."
fi
echo
"postmaster successfully started up."
fi
exit
0
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