summaryrefslogtreecommitdiff
path: root/src/backend/access/heap/visibilitymap.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-09-24 18:19:14 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-09-24 18:22:10 -0300
commita6b831a528440ea38874cc220002d73606781267 (patch)
treebdfeef3d768c7392e249aca23875677adcda27ff /src/backend/access/heap/visibilitymap.c
parentd6dc44a87928fe2b40127ae7001aca1469d69fce (diff)
Fix pgindent comment breakage
Diffstat (limited to 'src/backend/access/heap/visibilitymap.c')
-rw-r--r--src/backend/access/heap/visibilitymap.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/backend/access/heap/visibilitymap.c b/src/backend/access/heap/visibilitymap.c
index b81a7d6e494..849c3d989ad 100644
--- a/src/backend/access/heap/visibilitymap.c
+++ b/src/backend/access/heap/visibilitymap.c
@@ -344,11 +344,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;