Re: Something fishy happening on frogmouth - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Something fishy happening on frogmouth
Date
Msg-id 11702.1383577554@sss.pgh.pa.us
Whole thread Raw
In response to Re: Something fishy happening on frogmouth  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-11-04 13:13:27 +0200, Heikki Linnakangas wrote:
>> On 04.11.2013 11:55, Andres Freund wrote:
>>> Also, I don't think it's portable across platforms to access segments
>>> that already have been unlinked.

>> See
>> http://pubs.opengroup.org/onlinepubs/009695299/functions/shm_unlink.html:
>> "If one or more references to the shared memory object exist when the object
>> is unlinked, the name shall be removed before shm_unlink() returns, but the
>> removal of the memory object contents shall be postponed until all open and
>> map references to the shared memory object have been removed."

> We also support sysv shmem and have the same cleanup problem there.

And what about Windows?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [BUGS] BUG #8573: int4range memory consumption
Next
From: Robert Haas
Date:
Subject: Re: [v9.4] row level security