Hi,
I launched pgindent and created a new patch. Here it is.

*quakes in fear of incoming buildfarm results*

 I hope there will be good results at buildfarm.

пт, 6 июн. 2025 г. в 16:19, Robert Haas <robertmh...@gmail.com>:

> On Tue, Jun 3, 2025 at 2:58 PM Andres Freund <and...@anarazel.de> wrote:
> > > I think the proposed patch should be committed and back-patched, after
> > > fixing it so that it's pgindent-clean and adding a comment.  Does
> > > anyone have strong objection to that?
> >
> > No, seems like a thing that pretty obviously should be fixed.
>
> Done.
>
> *quakes in fear of incoming buildfarm results*
>
> --
> Robert Haas
> EDB: http://www.enterprisedb.com
>


-- 
Best regards,
Daria Shanina
From a4776e4ae0c2ffe3061b64dec7ac60d730db12b0 Mon Sep 17 00:00:00 2001
From: Darya Shanina <d.shan...@postgrespro.ru>
Date: Tue, 22 Apr 2025 11:27:01 +0300
Subject: [PATCH v1] [PGPRO-9971] Allocate enough memory with huge
 shared_buffers. Tags: commitfest_hotfix

---
 contrib/pg_prewarm/autoprewarm.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/pg_prewarm/autoprewarm.c b/contrib/pg_prewarm/autoprewarm.c
index d061731706a..4dbda58eeae 100644
--- a/contrib/pg_prewarm/autoprewarm.c
+++ b/contrib/pg_prewarm/autoprewarm.c
@@ -597,8 +597,9 @@ apw_dump_now(bool is_bgworker, bool dump_unlogged)
 		return 0;
 	}
 
-	block_info_array =
-		(BlockInfoRecord *) palloc(sizeof(BlockInfoRecord) * NBuffers);
+	block_info_array = (BlockInfoRecord *)
+		palloc_extended((sizeof(BlockInfoRecord) * NBuffers),
+						 MCXT_ALLOC_HUGE);
 
 	for (num_blocks = 0, i = 0; i < NBuffers; i++)
 	{
-- 
2.43.0

Reply via email to