Re: Unhelpful initdb error message

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Unhelpful initdb error message
Дата
Msg-id CAA-aLv7nc6VbOkeHBiBUtvCr45YbvZpPmU-6tS+U1nUywnctzw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unhelpful initdb error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 6 March 2012 17:46, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thom Brown <thom@linux.com> writes:
>> On 6 March 2012 16:31, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> [ scratches head... ]  I can't reproduce it with current git tip.
>
>> And I don't think I can reproduce this if I remove that directory.
>> I've seen this issue about 3 or 4 times in the past, and fixed it by
>> ditching the old data dir completely.  I'm just not sure what causes
>> this to happen.
>
> I'm a bit confused here.  Isn't the data directory totally empty before
> initdb starts?  It's supposed to refuse to proceed otherwise.

Yes, it is completely empty:

thom@swift:~/Development$ ls -la data
total 8
drwx------  2 thom thom 4096 2012-03-06 17:48 .
drwxrwxr-x 15 thom thom 4096 2012-03-06 17:46 ..

--
Thom

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

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