Alvaro Herrera <alvhe...@commandprompt.com> 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 using it, so I even have a
good working example to look at.
 
Thanks,
 
-Kevin

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to