Re: Fwd: 8.0 Beta3 worked, RC1 didn't! - Mailing list pgsql-hackers-win32

From Bruce Momjian
Subject Re: Fwd: 8.0 Beta3 worked, RC1 didn't!
Date
Msg-id 200412281627.iBSGR3v02251@candle.pha.pa.us
Whole thread Raw
In response to Re: Fwd: 8.0 Beta3 worked, RC1 didn't!  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > What if we malloc 100k just before we create the postmaster segment and
> > then free it and see if that fixes the postgres.exe problem?
>
> That was suggested already.  As a permanent fix it's certainly
> unspeakably ugly, but it would be useful to try it just to prove
> (or disprove) that we understand the problem.
>
> It would probably be a good idea to make the padding at least 256K,
> since the numbers that have been tossed around seem to indicate that
> Windows may be aligning things on 128K boundaries.
>
> My inclination for a permanent fix would be to try to do the shmat()
> much earlier, but I don't think we should go to the effort of doing
> that code rearrangement until we've proven that this is indeed the
> issue.

Right.  Merlin, I added you to this email.  Can you test that?  Do you
need us to send you a patch for testing?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fwd: 8.0 Beta3 worked, RC1 didn't!
Next
From: "Magnus Hagander"
Date:
Subject: Re: Fwd: 8.0 Beta3 worked, RC1 didn't!