extension allocating shared memory - Mailing list pgsql-hackers

From Kevin Grittner
Subject extension allocating shared memory
Date
Msg-id 4F8D7DC90200002500047072@gw.wicourts.gov
Whole thread Raw
Responses Re: extension allocating shared memory
List pgsql-hackers
What is the best way for an extension to allocate shared memory and to
access it from every backend?  Or, if there is no support existing for
that, what advice do people have if I want to make that happen?  I don't
need a lot (probably 1KB would do).
If this just "can't be done" I guess I could start a little daemon to
run alongside PostgreSQL and talk to it through a pipe or TCP on
localhost, but it seems cleaner to have it run within PostgreSQL if
feasible.
-Kevin


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: [BUG] Checkpointer on hot standby runs without looking checkpoint_segments
Next
From: Fujii Masao
Date:
Subject: Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.