Re: [GENERAL] WARNING: could not remove database directory - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [GENERAL] WARNING: could not remove database directory
Date
Msg-id 200502111829.j1BITsi18842@candle.pha.pa.us
Whole thread Raw
In response to Re: [GENERAL] WARNING: could not remove database directory  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] WARNING: could not remove database directory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Hubert Fröhlich <hubert.froehlich@bvv.bayern.de> 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 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 want different object files for
client and server output message and and returning error codes and
having every calling location print strings was unmaintainable.

Seems we never got a solution to that.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: passing parameters by reference
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] WARNING: could not remove database directory