Re: pidfile location missing after restarting crashed server in 8.1

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pidfile location missing after restarting crashed server in 8.1
Дата
Msg-id 20051026195118.GE27006@surnet.cl
обсуждение исходный текст
Ответ на Re: pidfile location missing after restarting crashed server in 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> 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.  The code prints exactly the path name it's
> using to access the file, and I think that's exactly what it should
> print.

It's not useful for the user that way.  Besides, we know what we did
chdir() to, so we could present that information to the user.

-- 
Alvaro Herrera
"Amanece.                                               (Ignacio Reyes)El Cerro San Cristóbal me mira, cínicamente, con
ojosde virgen"
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: localhost in pgpass file?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)", File: "nbtsearch.c", Line: 89)