Running initdb from another process

Поиск
Список
Период
Сортировка
От Greg Fairbanks
Тема Running initdb from another process
Дата
Msg-id D1EF2A02037CA74CBC1C6AF3F5E0F731015E04C0@ex3.seapine.com
обсуждение исходный текст
Ответы Re: Running initdb from another process
Список pgsql-general

Hi,

 

I am looking at trying to integrate PostgreSQL into our software. Basically, I want to have our

software to spawn postgres so the user doesn’t have to concern themselves with managing the

database. I am using the Windows calls LogonUser and CreateProcessAsUser to start initdb as

an unprivileged user. However, I am running into trouble on Windows Vista. Initdb will startup,

but when it starts postgres.exe, postgres.exe seems to get hung up on the CreateFileMapping

call while setting up shared memory. This only happens on Vista. It works perfectly on Windows

NT4/2000/XP/2003.  I was wondering if anyone had any experience with this type of situation and

could lend any help.

 

Thanks,

Greg

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: search_path when restoring to new db
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unrecognized time zone name error.