Commit 4d65e16a authored by Heikki Linnakangas's avatar Heikki Linnakangas

Misc comment typo fixes.

Backpatch the applicable parts, just to make backpatching future patches
easier.
parent da9f6a78
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* *
* binaryheap.c * binaryheap.c
* A simple binary heap implementaion * A simple binary heap implementation
* *
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group * Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
* *
......
...@@ -939,7 +939,7 @@ StartLogicalReplication(StartReplicationCmd *cmd) ...@@ -939,7 +939,7 @@ StartLogicalReplication(StartReplicationCmd *cmd)
/* /*
* Force a disconnect, so that the decoding code doesn't need to care * Force a disconnect, so that the decoding code doesn't need to care
* about a eventual switch from running in recovery, to running in a * about an eventual switch from running in recovery, to running in a
* normal environment. Client code is expected to handle reconnects. * normal environment. Client code is expected to handle reconnects.
*/ */
if (am_cascading_walsender && !RecoveryInProgress()) if (am_cascading_walsender && !RecoveryInProgress())
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
typedef struct BrinValues typedef struct BrinValues
{ {
AttrNumber bv_attno; /* index attribute number */ AttrNumber bv_attno; /* index attribute number */
bool bv_hasnulls; /* is there any nulls in the page range? */ bool bv_hasnulls; /* are there any nulls in the page range? */
bool bv_allnulls; /* are all values nulls in the page range? */ bool bv_allnulls; /* are all values nulls in the page range? */
Datum *bv_values; /* current accumulated values */ Datum *bv_values; /* current accumulated values */
} BrinValues; } BrinValues;
...@@ -37,7 +37,7 @@ typedef struct BrinMemTuple ...@@ -37,7 +37,7 @@ typedef struct BrinMemTuple
{ {
bool bt_placeholder; /* this is a placeholder tuple */ bool bt_placeholder; /* this is a placeholder tuple */
BlockNumber bt_blkno; /* heap blkno that the tuple is for */ BlockNumber bt_blkno; /* heap blkno that the tuple is for */
MemoryContext bt_context; /* memcxt holding the dt_column values */ MemoryContext bt_context; /* memcxt holding the bt_columns values */
BrinValues bt_columns[FLEXIBLE_ARRAY_MEMBER]; BrinValues bt_columns[FLEXIBLE_ARRAY_MEMBER];
} BrinMemTuple; } BrinMemTuple;
...@@ -52,7 +52,7 @@ typedef struct BrinTuple ...@@ -52,7 +52,7 @@ typedef struct BrinTuple
BlockNumber bt_blkno; BlockNumber bt_blkno;
/* --------------- /* ---------------
* mt_info is laid out in the following fashion: * bt_info is laid out in the following fashion:
* *
* 7th (high) bit: has nulls * 7th (high) bit: has nulls
* 6th bit: is placeholder tuple * 6th bit: is placeholder tuple
...@@ -66,7 +66,7 @@ typedef struct BrinTuple ...@@ -66,7 +66,7 @@ typedef struct BrinTuple
#define SizeOfBrinTuple (offsetof(BrinTuple, bt_info) + sizeof(uint8)) #define SizeOfBrinTuple (offsetof(BrinTuple, bt_info) + sizeof(uint8))
/* /*
* t_info manipulation macros * bt_info manipulation macros
*/ */
#define BRIN_OFFSET_MASK 0x1F #define BRIN_OFFSET_MASK 0x1F
/* bit 0x20 is not used at present */ /* bit 0x20 is not used at present */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment