Re: initdb failure on Windows XP

Поиск
Список
Период
Сортировка
От Serge Fonville
Тема Re: initdb failure on Windows XP
Дата
Msg-id 680cbe0e0907171244v529efa1nc366bc4dbc153893@mail.gmail.com
обсуждение исходный текст
Ответ на Re: initdb failure on Windows XP  (Sachin Srivastava <sachin.srivastava@enterprisedb.com>)
Список pgsql-general
> I am using PostgreSQL 8.3 on Windows XP SP2.
>
> I am getting this strange error while initdb:
>
> Part of the error message i get,
>
> The database cluster will be initialized with locale English_United
> States.1252.
>
> The default database encoding has accordingly been set to WIN1252.
> The default text search configuration will be set to "english".
>
> fixing permissions on existing directory C:/postgres/data ... ok
> creating subdirectories ... initdb: could not create directory
> "C:/postgres": File exists
> initdb: removing contents of data directory "C:/postgres/data"
>
> I have a directory structure as :
> C:\
>        ->Postgres
>                   -->bin
>                   -->lib
>                   -->share
> Now i get this error, when i tried to do initdb setting my PGDATA to
> C:\postgres\data which is an empty directory and i am running it (initdb)
> as administrator user.

Could you post the exact steps, settings and output?
That makes it a lot easier to determine the exact issue.
Also, have you checked the event log?

Regards,

Serge Fonville

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

Предыдущее
От: Sachin Srivastava
Дата:
Сообщение: Re: initdb failure on Windows XP
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: memory leak occur when disconnect database