postgres.git / summary / log / commit / refs

commit    09c37015d49665c52ae7eabd5852af36851aede4
Author:   Tomas Vondra <tomas.vondra@postgresql.org>
Date:     Mon Jan 26 23:26:36 2026 +0000
First released in: 18.2

    pgindent fix for 3fccbd94cba
    
    Backpatch-through: 18


contrib/pg_buffercache/pg_buffercache_pages.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c index 9ff0eb4b0a0..89b86855243 100644 --- a/contrib/pg_buffercache/pg_buffercache_pages.c +++ b/contrib/pg_buffercache/pg_buffercache_pages.c @@ -556,7 +556,9 @@ pg_buffercache_os_pages_internal(FunctionCallInfo fcinfo, bool include_numa) { values[2] = Int32GetDatum(fctx->record[i].numa_node); nulls[2] = false; - } else { + } + else + { /* some kind of error (e.g. pages moved to swap) */ values[2] = (Datum) 0; nulls[2] = true; [parent: 3fccbd94cba0]