[Question] Can someone provide some links related to the MemoryContext?

Started by Wen Yiover 2 years ago2 messages
#1Wen Yi
wen-yi@qq.com

Hi hackers,
I am learning the MemoryContext subsystem,  but I really don't know where to find it's document (The PostgreSQL Document just provide some spi function).
Can someone provide me some solutions?
Thanks in advance!

Yours,
Wen Yi

#2Matthias van de Meent
boekewurm+postgres@gmail.com
In reply to: Wen Yi (#1)
Re: [Question] Can someone provide some links related to the MemoryContext?

On Tue, 11 Jul 2023 at 15:11, Wen Yi <wen-yi@qq.com> wrote:

Hi hackers,
I am learning the MemoryContext subsystem, but I really don't know where to find it's document (The PostgreSQL Document just provide some spi function).
Can someone provide me some solutions?
Thanks in advance!

You should take a look at the README in the mmgr directory; at
src/backend/utils/mmgr/README. I think that this README provides a lot
of the requested information.

--
Kind regards,

Matthias van de Meent
Neon (https://neon.tech)