mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Change format of postmaster.opts.default.
Executable file name (postmaster) no more included in the file.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.6 2000/01/09 12:06:52 ishii Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.7 2000/01/23 08:20:24 ishii Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename $0`
|
||||||
@ -214,9 +214,9 @@ if [ $op = "start" -o $op = "restart" ];then
|
|||||||
# no -o given
|
# no -o given
|
||||||
if [ -z "$POSTOPTS" ];then
|
if [ -z "$POSTOPTS" ];then
|
||||||
if [ $op = "start" ];then
|
if [ $op = "start" ];then
|
||||||
# if we are in start mode, then look postmaster.opts.default
|
# if we are in start mode, then look for postmaster.opts.default
|
||||||
if [ -f $DEFPOSTOPTS ];then
|
if [ -f $DEFPOSTOPTS ];then
|
||||||
eval `cat $DEFPOSTOPTS` &
|
eval "$po_path `cat $DEFPOSTOPTS`" &
|
||||||
else
|
else
|
||||||
$ECHO "$CMDNAME: Can't find $DEFPOSTOPTS"
|
$ECHO "$CMDNAME: Can't find $DEFPOSTOPTS"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -1,2 +1 @@
|
|||||||
postmaster
|
|
||||||
-S
|
-S
|
||||||
|
Reference in New Issue
Block a user