Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED

From: Charlie Savage <cfis(at)savagexi(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Date: 2008-11-12 06:20:56
Message-ID: 491A75C8.4080609@savagexi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-11-12 07:18:57 Re: Block-level CRC checks
Previous Message Magnus Hagander 2008-11-12 06:15:06 Re: SSL cleanups/hostname verification