v19-0002-pgindent.patch
text/x-patch
Filename: v19-0002-pgindent.patch
Type: text/x-patch
Part: 1
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 v19-0002
Subject: pgindent
| File | + | − |
|---|---|---|
| src/port/pg_numa.c | 2 | 1 |
From df45db584eabdf7503eb868ea12f91b7603fd634 Mon Sep 17 00:00:00 2001 From: Tomas Vondra <tomas@vondra.me> Date: Tue, 1 Apr 2025 21:34:42 +0200 Subject: [PATCH v19 2/8] pgindent --- src/port/pg_numa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/port/pg_numa.c b/src/port/pg_numa.c index 443cd85838a..22b3f6a1781 100644 --- a/src/port/pg_numa.c +++ b/src/port/pg_numa.c @@ -94,10 +94,11 @@ pg_numa_get_pagesize(void) Size os_page_size; #ifdef WIN32 SYSTEM_INFO sysinfo; + GetSystemInfo(&sysinfo); os_page_size = sysinfo.dwPageSize; #else - os_page_size= sysconf(_SC_PAGESIZE); + os_page_size = sysconf(_SC_PAGESIZE); #endif Assert(IsUnderPostmaster); -- 2.49.0