Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit443db06

Browse files
committed
Fix duplication of -D during pg_ctl restart, from Peter E's patch.
1 parent62f5bad commit443db06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/bin/pg_ctl/pg_ctl.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.20 2001/04/21 11:23:58 petere Exp $
11+
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.21 2001/07/11 04:57:34 momjian Exp $
1212
#
1313
#-------------------------------------------------------------------------
1414

@@ -316,7 +316,8 @@ if [ $op = "start" -o $op = "restart" ];then
316316
evalset X"$POSTOPTS";shift
317317
fi
318318

319-
set X -D"$PGDATA"${1+"$@"};shift
319+
# pass environment into new postmaster
320+
export PGDATA
320321

321322
if [-n"$logfile" ];then
322323
"$po_path""$@"</dev/null>>$logfile2>&1&

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp