From 418b270020de20086042d7595dfe7d941b038716 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Sun, 6 Feb 2000 00:49:03 +0000 Subject: [PATCH] Fix a bug when specfying -D option. fix suggested by Keith Parks. --- src/bin/pg_ctl/pg_ctl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/pg_ctl/pg_ctl.sh b/src/bin/pg_ctl/pg_ctl.sh index 9de6eb3ab8c..a044622c06a 100755 --- a/src/bin/pg_ctl/pg_ctl.sh +++ b/src/bin/pg_ctl/pg_ctl.sh @@ -8,7 +8,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.7 2000/01/23 08:20:24 ishii Exp $ +# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.8 2000/02/06 00:49:03 ishii Exp $ # #------------------------------------------------------------------------- CMDNAME=`basename $0` @@ -76,6 +76,7 @@ do -D) shift PGDATA="$1" + export PGDATA ;; -p) shift -- 2.39.5