Re: [HACKERS] [GENERAL] WARNING: could not remove database directory

2005-02-14 Thread Bruce Momjian
8.0.X will have proper filename reporting for rmtree() failures. --- Tom Lane wrote: > Bruce Momjian writes: > > Tom Lane wrote: > >> [ looks at code... ] dbcommands.c is expecting that rmtree() will have > >> printed out

Re: [HACKERS] [GENERAL] WARNING: could not remove database directory

2005-02-11 Thread Tom Lane
Bruce Momjian writes: > Tom Lane wrote: >> It's certainly not realistic to pass back enough information from >> rmtree() to let the caller print a useful error message, so I think >> we have to add reporting code along this line to rmtree(). > Agreed. Not sure how the rmtree stuff was removed.

Re: [HACKERS] [GENERAL] WARNING: could not remove database directory

2005-02-11 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > Tom Lane wrote: > >> [ looks at code... ] dbcommands.c is expecting that rmtree() will have > >> printed out a more-detailed message about the problem, but someone has > >> carefully removed every trace of error reporting from rmtree(). > > > I think t

Re: [HACKERS] [GENERAL] WARNING: could not remove database directory

2005-02-11 Thread Tom Lane
Bruce Momjian writes: > Tom Lane wrote: >> [ looks at code... ] dbcommands.c is expecting that rmtree() will have >> printed out a more-detailed message about the problem, but someone has >> carefully removed every trace of error reporting from rmtree(). > I think the issue is that we didn't wan

Re: [HACKERS] [GENERAL] WARNING: could not remove database directory

2005-02-11 Thread Bruce Momjian
Tom Lane wrote: > =?ISO-8859-15?Q?Hubert_Fr=F6hlich?= <[EMAIL PROTECTED]> writes: > > dropdb ax20050206 > > WARNING: could not remove database directory > > "/export/home/postgres/data2/base/115101837" > > DROP DATABASE > > That's not very helpful, is it? > > [ looks at code... ] dbcommands.c

Re: [HACKERS] [GENERAL] WARNING: could not remove database directory

2005-02-11 Thread Tom Lane
=?ISO-8859-15?Q?Hubert_Fr=F6hlich?= <[EMAIL PROTECTED]> writes: > dropdb ax20050206 > WARNING: could not remove database directory > "/export/home/postgres/data2/base/115101837" > DROP DATABASE That's not very helpful, is it? [ looks at code... ] dbcommands.c is expecting that rmtree() will ha