v24-review-0002.pgident.txt
text/plain
Filename: v24-review-0002.pgident.txt
Type: text/plain
Part: 1
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c
index d653f4af394..5526dee7171 100644
--- a/contrib/pg_buffercache/pg_buffercache_pages.c
+++ b/contrib/pg_buffercache/pg_buffercache_pages.c
@@ -67,7 +67,7 @@ typedef struct
uint32 bufferid;
int32 numa_page;
int32 numa_node;
-} BufferCacheNumaRec;
+} BufferCacheNumaRec;
/*
* Function context for data persisting over repeated calls.
@@ -79,7 +79,7 @@ typedef struct
int pages_per_buffer;
int os_page_size;
BufferCacheNumaRec *record;
-} BufferCacheNumaContext;
+} BufferCacheNumaContext;
/*
@@ -454,7 +454,7 @@ pg_buffercache_numa_pages(PG_FUNCTION_ARGS)
*/
for (j = 0; j < Max(1, pages_per_buffer); j++)
{
- char *buffptr = (char *) BufferGetBlock(i + 1);
+ char *buffptr = (char *) BufferGetBlock(i + 1);
fctx->record[idx].bufferid = bufferid;
fctx->record[idx].numa_page = j;
@@ -480,8 +480,8 @@ pg_buffercache_numa_pages(PG_FUNCTION_ARGS)
elog(ERROR, "failed NUMA pages inquiry: %m");
/*
- * Update the entries with NUMA node ID. The status array is indexed the
- * same way as the entry index.
+ * Update the entries with NUMA node ID. The status array is indexed
+ * the same way as the entry index.
*/
for (i = 0; i < os_page_count; i++)
{