Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4d65e16

Browse files
committed
Misc comment typo fixes.
Backpatch the applicable parts, just to make backpatching future patches easier.
1 parent da9f6a7 commit 4d65e16

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/backend/lib/binaryheap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*-------------------------------------------------------------------------
22
*
33
* binaryheap.c
4-
* A simple binary heap implementaion
4+
* A simple binary heap implementation
55
*
66
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
77
*

src/backend/replication/walsender.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ StartLogicalReplication(StartReplicationCmd *cmd)
939939

940940
/*
941941
* Force a disconnect, so that the decoding code doesn't need to care
942-
* about a eventual switch from running in recovery, to running in a
942+
* about an eventual switch from running in recovery, to running in a
943943
* normal environment. Client code is expected to handle reconnects.
944944
*/
945945
if (am_cascading_walsender && !RecoveryInProgress())

src/include/access/brin_tuple.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
typedef 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

Comments
 (0)