projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6dc44a
)
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:22:10 +0000
(18:22 -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 b81a7d6e49464eeab953a1629e391f22d475dc2d..849c3d989adb528b619e40cd780d2ee14f46f69c 100644
(file)
--- 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;