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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] WARNING: could not remove database directory
Дата
Msg-id 12583.1108147715@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] WARNING: could not remove database directory  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> 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.  I will look into
> re-adding it, I assume for 8.1 only not 8.0.X?

I'd put it into 8.0 as well.  The only reason not to is that the strings
won't be translated (unless the translators add them later) ... but an
untranslated message is still tons better than no message at all.

Speaking of untranslated, the fprintf(stderr) calls in the other
routines are missing the gettext() invocations they need to have to be
translatable, so they have problems already.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] WARNING: could not remove database directory
Следующее
От: Michael Fuhr
Дата:
Сообщение: 8.x VACUUM overestimates reltuples?