From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | <pholben(at)greatbridge(dot)com>, <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: pg_ctl restart just appends to command line instead of regenerating original cmd |
Date: | 2001-06-20 15:05:52 |
Message-ID: | Pine.LNX.4.30.0106201654080.725-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
> Patricia Holben (pholben(at)greatbridge(dot)com) reports a bug with a severity of 3
> Then when "pg_ctl restart" is executed, the "pg_ctl status" will display:
> pg_ctl: postmaster is running (pid: 14635)
> Command line was:
> /usr/bin/postmaster '-D' '/var/lib/pgsql/data' '-D' '/var/lib/pgsql/data'
>
> A subsequent "pg_ctl restart" causes the next "pg_ctl status" to display:
> pg_ctl: postmaster is running (pid: 14635)
> Command line was:
> /usr/bin/postmaster '-D' '/var/lib/pgsql/data' '-D' '/var/lib/pgsql/data' '-D' '/var/lib/pgsql/data'
Actually, only the -D option is repeated. The patch below might fix it,
but please check all the other start and restart modes, too (with/without
-o, especially).
--- pg_ctl.sh Sat Apr 21 13:23:58 2001
+++ pg_ctl.sh.new Wed Jun 20 17:03:07 2001
@@ -316,7 +316,7 @@
eval set X "$POSTOPTS"; shift
fi
- set X -D "$PGDATA" ${1+"$@"}; shift
+ export PGDATA
if [ -n "$logfile" ]; then
"$po_path" "$@" </dev/null >>$logfile 2>&1 &
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-06-20 15:58:19 | Re: Bug: the index on INTEGER field does not work (PG 7.1.2) |
Previous Message | Victor Wagner | 2001-06-20 10:56:05 | Update is not atomic |