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

From Tom Lane
Subject Re: Fwd: 8.0 Beta3 worked, RC1 didn't!
Date
Msg-id 9865.1103912883@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fwd: 8.0 Beta3 worked, RC1 didn't!  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers-win32
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I thought it was 00xDB0000 something but I can't find any mention of
> that.  Was it removed?  Are we now starting the postgres.exe binary and
> assuming we can map to the same shared memory address as postmaster.exe?

Looks that way to me; and I think it considerably safer than using any
hard-wired address.  My current feeling is that the problem stems from
waiting too long to reattach to shared memory, and that we ought to do
that as soon as we can read the shmem address info from the temp file.

Just had a thought ... is it possible that this problem was introduced
by the recent changes to pass backend variables in shared memory instead
of in a temp file?  ISTM fairly possible that mapping that memory is
going to interfere with where we need to map the main shared memory
block.  I see that it gets unmapped after being read, but maybe the
damage is already done.

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
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!