Re: extension allocating shared memory - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: extension allocating shared memory
Date
Msg-id 4F8D998E020000250004707A@gw.wicourts.gov
Whole thread Raw
In response to Re: extension allocating shared memory  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@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


pgsql-hackers by date:

Previous
From: Jameison Martin
Date:
Subject: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap
Next
From: Andrew Dunstan
Date:
Subject: Re: Bug tracker tool we need