Re: FATAL: could not reattach to shared memory (Win32) - Mailing list pgsql-general

From Gregory Stark
Subject Re: FATAL: could not reattach to shared memory (Win32)
Date
Msg-id 87sl68zz3i.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: FATAL: could not reattach to shared memory (Win32)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: FATAL: could not reattach to shared memory (Win32)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> There are a few old bits of code that still use MAKE_PTR/MAKE_OFFSET,
> but I think it's mostly just that no one's bothered to rewrite the code
> for SHM_QUEUE linked lists.  The vast majority of our shmem structures
> use regular pointers, and have for years.

Ah, I happened to be recently in that code so I was mislead.

So even in EXEC_BACKEND we require that we can attach to the shared memory at
a specified location. hm.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: FATAL: could not reattach to shared memory (Win32)
Next
From: Tom Lane
Date:
Subject: Re: Out of Memory - 8.2.4