We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61318d commit 7a567d9Copy full SHA for 7a567d9
src/backend/access/heap/visibilitymap.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/access/heap/visibilitymap.c,v 1.1 2008/12/03 13:05:22 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/heap/visibilitymap.c,v 1.2 2008/12/06 17:31:37 heikki Exp $
12
13
* INTERFACE ROUTINES
14
* visibilitymap_clear - clear a bit in the visibility map
@@ -101,7 +101,7 @@
101
* extra headers, so the whole page minus except for the standard page header
102
* is used for the bitmap.
103
*/
104
-#define MAPSIZE (BLCKSZ - SizeOfPageHeaderData)
+#define MAPSIZE (BLCKSZ - MAXALIGN(SizeOfPageHeaderData))
105
106
/* Number of bits allocated for each heap block. */
107
#define BITS_PER_HEAPBLOCK 1
0 commit comments