Re: Unhelpful initdb error message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unhelpful initdb error message
Дата
Msg-id 2142.1331056432@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unhelpful initdb error message  (Thom Brown <thom@linux.com>)
Ответы Re: Unhelpful initdb error message  (Thom Brown <thom@linux.com>)
Re: Unhelpful initdb error message  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
Thom Brown <thom@linux.com> writes:
> /home/thom/Development/data was causing problems so:

> mv data databroken
> mkdir data
> initdb

> ... working fine again.  I then used the postmaster.pid from this when
> started up.  But if I do:

> pg_ctl stop
> rm -rf data
> mv databroken data
> initdb

> ... error messages appear again.

Okay, so the question becomes: what is different between databroken and
a freshly mkdir'd empty directory?  If there is no visible difference in
contents, ownership, or permissions, then it seems like this is evidence
of a filesystem bug (ie, apparently empty directory acts nonempty for
some operations).

            regards, tom lane

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Unhelpful initdb error message
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Unhelpful initdb error message