24
24
typedef struct BrinValues
25
25
{
26
26
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? */
28
28
bool bv_allnulls ; /* are all values nulls in the page range? */
29
29
Datum * bv_values ; /* current accumulated values */
30
30
} BrinValues ;
@@ -37,7 +37,7 @@ typedef struct BrinMemTuple
37
37
{
38
38
bool bt_placeholder ; /* this is a placeholder tuple */
39
39
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 */
41
41
BrinValues bt_columns [FLEXIBLE_ARRAY_MEMBER ];
42
42
} BrinMemTuple ;
43
43
@@ -52,7 +52,7 @@ typedef struct BrinTuple
52
52
BlockNumber bt_blkno ;
53
53
54
54
/* ---------------
55
- * mt_info is laid out in the following fashion:
55
+ * bt_info is laid out in the following fashion:
56
56
*
57
57
* 7th (high) bit: has nulls
58
58
* 6th bit: is placeholder tuple
@@ -66,7 +66,7 @@ typedef struct BrinTuple
66
66
#define SizeOfBrinTuple (offsetof(BrinTuple, bt_info) + sizeof(uint8))
67
67
68
68
/*
69
- * t_info manipulation macros
69
+ * bt_info manipulation macros
70
70
*/
71
71
#define BRIN_OFFSET_MASK 0x1F
72
72
/* bit 0x20 is not used at present */
0 commit comments