From 29a3e257124688e8e2726b2cb413aaf123ccea1c Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 3 Aug 2012 15:35:57 +0000 Subject: [PATCH] Reorganize fields to match comments. --- src/backend/utils/hash/chash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/utils/hash/chash.c b/src/backend/utils/hash/chash.c index 36a619babe..702b1ff530 100644 --- a/src/backend/utils/hash/chash.c +++ b/src/backend/utils/hash/chash.c @@ -148,7 +148,6 @@ typedef struct CHashTableData uint32 bucket_mask; /* # of buckets, minus one */ uint32 garbage_shift; /* log2(nbuckets/ngarbage) */ uint32 ngarbage; /* # of garbage lists, a power of two */ - int gc_pid; /* PID that set gc_next */ uint32 nfreelists; /* # of freelists */ uint32 arena_limit; /* # of arena elements */ uint32 arena_stride; /* bytes allocated per arena element */ @@ -159,8 +158,9 @@ typedef struct CHashTableData /* * These fields will be different in each backend; the shared copy is - * unused. + * irrelevant. */ + int gc_pid; /* PID that set gc_next */ uint32 gc_next; /* next garbage list to reclaim */ uint64 stats[CHS_NumberOfStatistics]; /* statistics */ } CHashTableData; -- 2.39.5