Re: Unhelpful initdb error message - Mailing list pgsql-general

From Thom Brown
Subject Re: Unhelpful initdb error message
Date
Msg-id CAA-aLv7nc6VbOkeHBiBUtvCr45YbvZpPmU-6tS+U1nUywnctzw@mail.gmail.com
Whole thread Raw
In response to Re: Unhelpful initdb error message  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Thom Brown
Date:
Subject: Re: Unhelpful initdb error message
Next
From: Tom Lane
Date:
Subject: Re: Unhelpful initdb error message