Search Postgresql Archives

Running initdb from another process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux