shared memory allocation - C function - Mailing list pgsql-general

From Alan Nilsson
Subject shared memory allocation - C function
Date
Msg-id 4CBFF0C7-9B8D-401E-AAB3-F81515233526@apple.com
Whole thread Raw
Responses Re: shared memory allocation - C function  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-general
Is it possible to allocate a small chunk of shared memory outside of any pools(i.e. manually alloced & de-alloced) that
isvisible to all processes?  I would like a small amount to store a mutex and a condition variable that is accessible
ina c function from any process.  Is there an SPI/API to do this? 

alan




pgsql-general by date:

Previous
From: Andy Colson
Date:
Subject: Re: hot standby data folder bigger than primary
Next
From: Susan Cassidy
Date:
Subject: any way for a transaction to "see" inserts done earlier in the transaction?