[HACKERS] pidfile location missing after restarting crashed server in 8.1

2005-10-26 Thread Robert Treat
Fair warning this was in 8.1beta1 so perhaps this is fixed already. [EMAIL PROTECTED]:~$ ./start80.sh pg_ctl: another postmaster may be running; trying to start postmaster anyway FATAL: pre-existing shared memory block (key 5480001, ID 4063233) is still in use HINT: If you're sure there are n

Re: [HACKERS] pidfile location missing after restarting crashed server in 8.1

2005-10-26 Thread Tom Lane
Robert Treat <[EMAIL PROTECTED]> 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)

Re: [HACKERS] pidfile location missing after restarting crashed server in 8.1

2005-10-26 Thread Alvaro Herrera
Tom Lane wrote: > Robert Treat <[EMAIL PROTECTED]> 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 al

Re: [HACKERS] pidfile location missing after restarting crashed server in 8.1

2005-10-26 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> 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). I don't think that follows

Re: [HACKERS] pidfile location missing after restarting crashed server in 8.1

2005-10-26 Thread Robert Treat
On Wednesday 26 October 2005 14:59, Tom Lane wrote: > Robert Treat <[EMAIL PROTECTED]> 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

Re: [HACKERS] pidfile location missing after restarting crashed server in 8.1

2005-10-26 Thread Alvaro Herrera
Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > Tom Lane wrote: > >> 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