On 08/09/2010 09:00 PM, Bruce Momjian wrote:
You could allocate shared memory in chunks and then pass that out to requestors, the same way sbrk() does it.
sbrk() is described [1] as a "low-level memory allocator", which "is typically only used by the high-level malloc memory allocator implemented in the C library".
Think of my patch as the high(er)-level variant ;-) It's certainly doable using processes and shared memory. Yes. My patch shows one way of how to go a step into that direction.
Regards Markus Wanner [1]: http://www.cs.utah.edu/flux/moss/node39.html -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers