From: Robert Haas Date: Fri, 3 Aug 2012 15:35:57 +0000 (+0000) Subject: Reorganize fields to match comments. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=66f30da30abd82793ab5e15760e75c691c3acc8b;p=users%2Fandresfreund%2Fpostgres.git Reorganize fields to match comments. --- 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;