autoprewarm_dump_now - Mailing list pgsql-hackers

From Дарья Шанина
Subject autoprewarm_dump_now
Date
Msg-id CAMp4U1cDJzb96KJXT-hNuf7L4KaYUiXWs6KSe01so--mBoop8g@mail.gmail.com
Whole thread Raw
Responses Re: autoprewarm_dump_now
List pgsql-hackers
Hello everyone!
I have a question.

What would be better for the function autoprewarm_dump_now in case when we need to allocate memory that exceeds 1 GB:
1) allocate enough memory for the entire shared_buffer array (1..NBuffers) using palloc_extended;
2) allocate the maximum of currently possible memory (1 GB) using an ordinary palloc.

Thank you for your attention!

--
Best regards,
Daria Shanina

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: in BeginCopyTo make materialized view using COPY TO instead of COPY (query).
Next
From: Kirill Reshke
Date:
Subject: Re: psql suggestion "select " offers nothing, can we get functions like "\df "