Re: pidfile location missing after restarting crashed server in 8.1
- From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
- To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org
- Subject: Re: pidfile location missing after restarting crashed server in 8.1
- Date: Wed, 26 Oct 2005 16:29:53 -0300
- Message-id: <20051026192953(dot)GC27006(at)surnet(dot)cl>
Tom Lane wrote:
> Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> writes:
> > the difference being that in 8.0 we printed the full path of the pid file, in
> > 8.1 we do not. there could be a good reason for this,
>
> Yeah: it's now being accessed by a relative path (relative to $PGDATA,
> which we have already chdir'd into at this point).
So we should include PGDATA in the error message (DataDir actually, I
guess).
--
Alvaro Herrera Architect, http://www.EnterpriseDB.com
"When the proper man does nothing (wu-wei),
his thought is felt ten thousand miles." (Lao Tse)
Home |
Main Index |
Thread Index