We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f5bad commit 443db06Copy full SHA for 443db06
src/bin/pg_ctl/pg_ctl.sh
@@ -8,7 +8,7 @@
8
#
9
10
# IDENTIFICATION
11
-# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.20 2001/04/21 11:23:58 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.21 2001/07/11 04:57:34 momjian Exp $
12
13
#-------------------------------------------------------------------------
14
@@ -316,7 +316,8 @@ if [ $op = "start" -o $op = "restart" ];then
316
eval set X "$POSTOPTS"; shift
317
fi
318
319
- set X -D "$PGDATA" ${1+"$@"}; shift
+ # pass environment into new postmaster
320
+ export PGDATA
321
322
if [ -n "$logfile" ]; then
323
"$po_path" "$@" </dev/null >>$logfile 2>&1 &
0 commit comments