Re: SPI shared memory ? - Mailing list pgsql-general

From Alex Vinogradovs
Subject Re: SPI shared memory ?
Date
Msg-id 1190419166.86446.30.camel@localhost
Whole thread Raw
In response to Re: SPI shared memory ?  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: SPI shared memory ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Yes, I'd like to get some memory of my own, so that it can
be shared between functions executing in different connections.
Is there an existent API, or should I just straight use Unix IPC ?

Thanks!

Alex.

On Fri, 2007-09-21 at 16:33 -0700, Jeff Davis wrote:
> On Fri, 2007-09-21 at 12:50 -0700, Alex Vinogradovs wrote:
> > Guys,
> >
> >
> > Is there any exposed PG-specific API to utilize shared memory while
> > working with SPI ? Thanks!
> >
>
> What are you trying to do?
>
> The available SPI functions don't include any shared memory access, do
> you actually want access to postgresql's shared structures, or do you
> just want your own area?
>
> Regards,
>     Jeff Davis
>

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: SPI shared memory ?
Next
From: Robert Treat
Date:
Subject: Re: Migration from PervasiveSQL