Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d65e16

Browse files
committed
Misc comment typo fixes.
Backpatch the applicable parts, just to make backpatching future patcheseasier.
1 parentda9f6a7 commit4d65e16

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/lib/binaryheap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*-------------------------------------------------------------------------
22
*
33
* binaryheap.c
4-
* A simple binary heapimplementaion
4+
* A simple binary heapimplementation
55
*
66
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
77
*

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
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-
* abouta eventual switch from running in recovery, to running in a
942+
* aboutan 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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
typedefstructBrinValues
2525
{
2626
AttrNumberbv_attno;/* index attribute number */
27-
boolbv_hasnulls;/*is there any nulls in the page range? */
27+
boolbv_hasnulls;/*are there any nulls in the page range? */
2828
boolbv_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
boolbt_placeholder;/* this is a placeholder tuple */
3939
BlockNumberbt_blkno;/* heap blkno that the tuple is for */
40-
MemoryContextbt_context;/* memcxt holding thedt_column values */
40+
MemoryContextbt_context;/* memcxt holding thebt_columns values */
4141
BrinValuesbt_columns[FLEXIBLE_ARRAY_MEMBER];
4242
}BrinMemTuple;
4343

@@ -52,7 +52,7 @@ typedef struct BrinTuple
5252
BlockNumberbt_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
#defineSizeOfBrinTuple (offsetof(BrinTuple, bt_info) + sizeof(uint8))
6767

6868
/*
69-
*t_info manipulation macros
69+
*bt_info manipulation macros
7070
*/
7171
#defineBRIN_OFFSET_MASK0x1F
7272
/* bit 0x20 is not used at present */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp