projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba5fe8
)
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:21:50 +0000
(18:21 -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 88a0c74e32a7db3f20c05139f64dbb124fb36a8a..bab6aba368295edc356a69da0bbc5dec20c7350b 100644
(file)
--- a/
src/backend/access/heap/visibilitymap.c
+++ b/
src/backend/access/heap/visibilitymap.c
@@
-352,11
+352,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;