[Question]Can someone explain the context_freelists?

From: Wen Yi <wen-yi(at)qq(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: [Question]Can someone explain the context_freelists?
Date: 2023-07-30 11:44:22
Message-ID: tencent_E9AB79A63A901471EE6EADD24A2E5375D908@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In MemoryContext source code:

/* context_freelists[0] is for default params, [1] for small params */
static AllocSetFreeList context_freelists[2] =
{
&nbsp;&nbsp; &nbsp;{
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; 0, NULL
&nbsp;&nbsp; &nbsp;},
&nbsp;&nbsp; &nbsp;{
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; 0, NULL
&nbsp;&nbsp; &nbsp;}
};

I really don't know what this variable mean, can someone share me with your view?
Thanks in advance!

Yours,
Wen Yi

Browse pgsql-general by date

  From Date Subject
Next Message Amn Ojee Uw 2023-07-30 11:53:54 Upgrading
Previous Message Erik Wienhold 2023-07-29 16:57:44 Re: How to get an md5/sha256 hash of a really large object in psql?