nbtree: BTREE_[MIN|NOVAC]_VERSION comment tweaks

Enterprise / PostgreSQL - Peter Geoghegan [bowt.ie] - 10 January 2020 21:12 EST

Author: Peter Geoghegan

###

diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h
index f90ee3a0e0..22840942e3 100644
--- a/src/include/access/nbtree.h
+++ b/src/include/access/nbtree.h
@@ -132,8 +132,8 @@ typedef struct BTMetaPageData
#define BTREE_METAPAGE 0 /* first page is meta */
#define BTREE_MAGIC 0x053162 /* magic number in metapage */
#define BTREE_VERSION 4 /* current version number */
-#define BTREE_MIN_VERSION 2 /* minimal supported version number */
-#define BTREE_NOVAC_VERSION 3 /* minimal version with all meta fields */
+#define BTREE_MIN_VERSION 2 /* minimum supported version */
+#define BTREE_NOVAC_VERSION 3 /* version with all meta fields set */

/*
* Maximum size of a btree index entry, including its tuple header.

a0dc3c19ed nbtree: BTREE_[MIN|NOVAC]_VERSION comment tweaks.
src/include/access/nbtree.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: git.postgresql.org


  • Share