Tabify.
authorRobert Haas <[email protected]>
Tue, 24 Jul 2012 12:59:26 +0000 (08:59 -0400)
committerRobert Haas <[email protected]>
Tue, 24 Jul 2012 16:31:53 +0000 (12:31 -0400)
src/backend/utils/hash/chash.c

index 0bcd576cd5512d65157af67ef23076c1ef543c1a..cb370dfcae7f929861dab00826d611c9f9f129f9 100644 (file)
  * used to implement concurrent deletion.
  */
 typedef uint32 CHashPtr;
-#define InvalidCHashPtr             ((uint32) -2)
-#define CHashPtrIsMarked(x)         ((x) & 1)
-#define CHashPtrGetOffset(x)        ((x) >> 1)
-#define CHashPtrMark(x)             ((x) | 1)
-#define CHashPtrUnmark(x)           ((x) & ~1)
+#define InvalidCHashPtr                                ((uint32) -2)
+#define CHashPtrIsMarked(x)                    ((x) & 1)
+#define CHashPtrGetOffset(x)           ((x) >> 1)
+#define CHashPtrMark(x)                                ((x) | 1)
+#define CHashPtrUnmark(x)                      ((x) & ~1)
 #define MakeCHashPtr(x)                                ((x) << 1)
 #define CHashMaxCapacity                       CHashPtrGetOffset(InvalidCHashPtr)
 
@@ -531,7 +531,7 @@ CHashAllocate(CHashTable table)
                                 * exactly how to calibrate that, either.
                                 */
                                chash_bucket = ((uint64) table->desc.id)<<32 | table->gc_next;
-                       for (i = 0; i < ProcGlobal->allProcCount; i++)
+                               for (i = 0; i < ProcGlobal->allProcCount; i++)
                                {
                                        PGPROC     *proc = &ProcGlobal->allProcs[i];