Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR
Date
Msg-id CABUevEzK9BKw2ZrWNYzad0qnD8pV=zNRU5z7oLhSrQcnGTRVdw@mail.gmail.com
Whole thread Raw
In response to Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR  ("MauMau" <maumau307@gmail.com>)
Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR  ("MauMau" <maumau307@gmail.com>)
List pgsql-hackers
On Tue, Feb 4, 2014 at 12:57 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
On 02/04/2014 07:28 PM, MauMau wrote:
>>
>
> Please don't mind, I didn't misunderstand your intent.  I think we
> should apply this in the next minor release to avoid unnecessary
> confusion -- more new users would use PostgreSQL on Windows 8/2012 and
> hit this problem.
>
> I added this patch to the CommitFest.

It's really a bugfix suitable for backpatching IMO.


Unfortunately we missed the releases that have just been wrapped.

I've applied this and backpatched to 9.3 and 9.2, which is as far back as it goes cleanly.

In 9.1 the build system looked significantly different, which makes it strange since the original report in this thread was about 9.1 but the patch supplied clearly wasn't for that.

Does somebody want to look at backpatching this to 9.1 and earlier, or should we just say that it's not fully supported on those Windows versions unless you apply the registry workaround?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: patch: option --if-exists for pg_dump
Next
From: Magnus Hagander
Date:
Subject: Re: [review] PostgreSQL Service on Windows does not start if data directory given is relative path