projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b43b64c
)
Fix pgindent comment breakage
author
Alvaro Herrera
<
[email protected]
>
Tue, 24 Sep 2013 21:19:14 +0000
(18:19 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Tue, 24 Sep 2013 21:20:37 +0000
(18:20 -0300)
src/backend/access/heap/visibilitymap.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/heap/visibilitymap.c
b/src/backend/access/heap/visibilitymap.c
index ffec6cbcc0c3a90400836c76c60b057913b30a48..7f40d89b9f1ac722772ec52325333cd4c0f6ae95 100644
(file)
--- 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;