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). > > 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 ojos de virgen" ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly