Skip to content

Commit f6a6057

Browse files
committed
Fix typos
Backpatch to: 9.4
1 parent 78e3293 commit f6a6057

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/include/replication/reorderbuffer.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ typedef struct ReorderBufferChange
6565
enum ReorderBufferChangeType action;
6666

6767
/*
68-
* Context data for the change, which part of the union is valid depends
69-
* on action/action_internal.
68+
* Context data for the change. Which part of the union is valid depends
69+
* on action.
7070
*/
7171
union
7272
{
@@ -228,7 +228,7 @@ typedef struct ReorderBufferTXN
228228
/* ---
229229
* Position in one of three lists:
230230
* * list of subtransactions if we are *known* to be subxact
231-
* * list of toplevel xacts (can be a as-yet unknown subxact)
231+
* * list of toplevel xacts (can be an as-yet unknown subxact)
232232
* * list of preallocated ReorderBufferTXNs
233233
* ---
234234
*/
@@ -266,7 +266,7 @@ struct ReorderBuffer
266266

267267
/*
268268
* Transactions that could be a toplevel xact, ordered by LSN of the first
269-
* record bearing that xid..
269+
* record bearing that xid.
270270
*/
271271
dlist_head toplevel_by_lsn;
272272

@@ -278,7 +278,7 @@ struct ReorderBuffer
278278
ReorderBufferTXN *by_txn_last_txn;
279279

280280
/*
281-
* Callacks to be called when a transactions commits.
281+
* Callbacks to be called when a transactions commits.
282282
*/
283283
ReorderBufferBeginCB begin;
284284
ReorderBufferApplyChangeCB apply_change;
@@ -301,7 +301,7 @@ struct ReorderBuffer
301301
* overhead we cache some unused ones here.
302302
*
303303
* The maximum number of cached entries is controlled by const variables
304-
* ontop of reorderbuffer.c
304+
* on top of reorderbuffer.c
305305
*/
306306

307307
/* cached ReorderBufferTXNs */

0 commit comments

Comments
 (0)