Skip site navigation (1) Skip section navigation (2)

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: 2005-10-26 19:29:53
Message-ID: 20051026192953.GC27006@surnet.cl (view raw or flat)
Thread:
Lists: pgsql-hackers
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)

In response to

Responses

pgsql-hackers by date

Next:From: Andrew - SupernewsDate: 2005-10-26 19:33:48
Subject: Re: add_missing_from breaks existing views
Previous:From: Alon GoldshuvDate: 2005-10-26 19:20:41
Subject: Re: Libpq optimization

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group