0013-Fix-compilation-failure-in-pg_get_shmem_pag-20250616.patch
text/x-patch
Filename: 0013-Fix-compilation-failure-in-pg_get_shmem_pag-20250616.patch
Type: text/x-patch
Part: 12
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch 0013
Subject: Fix compilation failure in pg_get_shmem_pagesize()
| File | + | − |
|---|---|---|
| src/backend/storage/ipc/shmem.c | 1 | 1 |
From cc706b4db87b3bd69ee2f4acc223e9306fb10674 Mon Sep 17 00:00:00 2001 From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Date: Thu, 5 Jun 2025 14:42:53 +0530 Subject: [PATCH 13/17] Fix compilation failure in pg_get_shmem_pagesize() Fix compilation failure in pg_get_shmem_pagesize() due to incorrect call to GetHugePageSize(). This is a temporary fix to allow compilation to proceed. Ashutosh Bapat --- src/backend/storage/ipc/shmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/storage/ipc/shmem.c b/src/backend/storage/ipc/shmem.c index b411fbce37e..4c2bddfe6ca 100644 --- a/src/backend/storage/ipc/shmem.c +++ b/src/backend/storage/ipc/shmem.c @@ -826,7 +826,7 @@ pg_get_shmem_pagesize(void) Assert(huge_pages_status != HUGE_PAGES_UNKNOWN); if (huge_pages_status == HUGE_PAGES_ON) - GetHugePageSize(&os_page_size, NULL); + GetHugePageSize(&os_page_size, NULL, NULL); return os_page_size; } -- 2.34.1