diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-06-03 08:43:41 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-06-03 08:43:41 -0400 |
commit | fdfaccfa798c1c9993feae1fac6e0f79d72aa7b7 (patch) | |
tree | c0b5ccc353176e70438c327e3323ec45a42fde11 /src/include | |
parent | a3b30763cc8686f5b4cd121ef0bf510c1533ac22 (diff) | |
download | postgresql-fdfaccfa798c1c9993feae1fac6e0f79d72aa7b7.tar.gz postgresql-fdfaccfa798c1c9993feae1fac6e0f79d72aa7b7.zip |
Cosmetic improvements to freeze map code.
Per post-commit review comments from Andres Freund, improve variable
names, comments, and in one place, slightly improve the code structure.
Masahiko Sawada
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/access/visibilitymap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/visibilitymap.h b/src/include/access/visibilitymap.h index b8dc54c55d2..65e78eccb6c 100644 --- a/src/include/access/visibilitymap.h +++ b/src/include/access/visibilitymap.h @@ -19,8 +19,8 @@ #include "storage/buf.h" #include "utils/relcache.h" +/* Number of bits for one heap page */ #define BITS_PER_HEAPBLOCK 2 -#define HEAPBLOCKS_PER_BYTE (BITS_PER_BYTE / BITS_PER_HEAPBLOCK) /* Flags for bit map */ #define VISIBILITYMAP_ALL_VISIBLE 0x01 |