Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED - Mailing list pgsql-hackers

From Charlie Savage
Subject Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Date
Msg-id 491A75C8.4080609@savagexi.com
Whole thread Raw
In response to 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED  (Charlie Savage <cfis@savagexi.com>)
Responses Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Just wanted to close off this thread.

Previously I reported that building 8.3.4 with MingW on Windows resulted 
in an initdb executable that couldn't create new databases due to 
security restrictions in creating global file mappings in Vista.

I'm happy to say that the problem seems fixed in 8.3.5, which I have 
successfully built, installed, and created new databases with.

And just to note this for anyone else who runs into the issue - if you 
build postgresql with MingW then make sure you are using the latest 
version of the MingW runtime:

http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=11598

Specifically, use version 3.15.1 released on 2008-10-04 (or hopefully 
later).  In the previous version, getopt_long is broken, meaning you 
cannot use any long style switches to initdb (for example, initdb 
--locale=C doesn't work and causes initdb to exit with an error message).

Thanks,

Charlie



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: SSL cleanups/hostname verification
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Block-level CRC checks