Alvaro Herrera wrote:
> Excerpts from Kevin Grittner's message:
>> What is the best way for an extension to allocate shared memory
>> and to access it from every backend?
> RequestAddinShmemSpace
Perfect! That's exactly what I wanted. I see that the
pg_stat_statements extension is already
Excerpts from Kevin Grittner's message of mar abr 17 16:27:21 -0300 2012:
> 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
> n
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 s