postgres.git / summary / log / commit / refs

commit    ea9a2bcea3a3372b7f296b1095aeebf65c27f32a
Author:   Alvaro Herrera <alvherre@alvh.no-ip.org>
Date:     Tue Sep 24 21:19:14 2013 +0000
First released in: 9.4.0, 8.4.18, 9.0.14, 9.1.10, 9.2.5, 9.3.1

    Fix pgindent comment breakage


src/backend/access/heap/visibilitymap.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/backend/access/heap/visibilitymap.c b/src/backend/access/heap/visibilitymap.c index ffec6cbcc0c..7f40d89b9f1 100644 --- a/src/backend/access/heap/visibilitymap.c +++ b/src/backend/access/heap/visibilitymap.c @@ -476,11 +476,15 @@ visibilitymap_truncate(Relation rel, BlockNumber nheapblocks) /* Clear out the unwanted bytes. */ MemSet(&map[truncByte + 1], 0, MAPSIZE - (truncByte + 1)); - /* + /*---- * Mask out the unwanted bits of the last remaining byte. * - * ((1 << 0) - 1) = 00000000 ((1 << 1) - 1) = 00000001 ... ((1 << 6) - - * 1) = 00111111 ((1 << 7) - 1) = 01111111 + * ((1 << 0) - 1) = 00000000 + * ((1 << 1) - 1) = 00000001 + * ... + * ((1 << 6) - 1) = 00111111 + * ((1 << 7) - 1) = 01111111 + *---- */ map[truncByte] &= (1 << truncBit) - 1; [parent: 98a746c1ea7b]