2424typedef struct BrinValues
2525{
2626 AttrNumber bv_attno ; /* index attribute number */
27- bool bv_hasnulls ; /* is there any nulls in the page range? */
27+ bool bv_hasnulls ; /* are there any nulls in the page range? */
2828 bool bv_allnulls ; /* are all values nulls in the page range? */
2929 Datum * bv_values ; /* current accumulated values */
3030} BrinValues ;
@@ -37,7 +37,7 @@ typedef struct BrinMemTuple
3737{
3838 bool bt_placeholder ; /* this is a placeholder tuple */
3939 BlockNumber bt_blkno ; /* heap blkno that the tuple is for */
40- MemoryContext bt_context ; /* memcxt holding the dt_column values */
40+ MemoryContext bt_context ; /* memcxt holding the bt_columns values */
4141 BrinValues bt_columns [FLEXIBLE_ARRAY_MEMBER ];
4242} BrinMemTuple ;
4343
@@ -52,7 +52,7 @@ typedef struct BrinTuple
5252 BlockNumber bt_blkno ;
5353
5454 /* ---------------
55- * mt_info is laid out in the following fashion:
55+ * bt_info is laid out in the following fashion:
5656 *
5757 * 7th (high) bit: has nulls
5858 * 6th bit: is placeholder tuple
@@ -66,7 +66,7 @@ typedef struct BrinTuple
6666#define SizeOfBrinTuple (offsetof(BrinTuple, bt_info) + sizeof(uint8))
6767
6868/*
69- * t_info manipulation macros
69+ * bt_info manipulation macros
7070 */
7171#define BRIN_OFFSET_MASK 0x1F
7272/* bit 0x20 is not used at present */
0 commit comments