Re: pidfile location missing after restarting crashed server in 8.1 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pidfile location missing after restarting crashed server in 8.1
Date
Msg-id 20051026192953.GC27006@surnet.cl
Whole thread Raw
In response to Re: pidfile location missing after restarting crashed server in 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pidfile location missing after restarting crashed server in 8.1
List pgsql-hackers
Tom Lane wrote:
> Robert Treat <xzilla@users.sourceforge.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)


pgsql-hackers by date:

Previous
From: "Alon Goldshuv"
Date:
Subject: Re: Libpq optimization
Next
From: Andrew - Supernews
Date:
Subject: Re: add_missing_from breaks existing views