can we publish a aset interface? - Mailing list pgsql-hackers

From Pavel Stehule
Subject can we publish a aset interface?
Date
Msg-id AANLkTimEv1DSVVwGXo9T6TgxWJGn9qXvnAEx8D+YS_9Q@mail.gmail.com
Whole thread Raw
Responses Re: can we publish a aset interface?
Re: can we publish a aset interface?
List pgsql-hackers
Hello

I would to use a special memory context for shared data (based on
mmap) and I like impementation of aset. There is only one difference -
aset is based on malloc and I would to use a mmap.

malloc() is used in AllocSetContextCreate and AllocSetAlloc. These
procedures should be overwritten, but other code and data structures
can be used. This step can be useful for previous discuss about some
more comfortable maintaining of shared memory.

What do you think about?

Regards

Pavel Stehule


pgsql-hackers by date:

Previous
From: Markus Wanner
Date:
Subject: Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)
Next
From: Simon Riggs
Date:
Subject: Re: Synchronous replication - patch status inquiry