Skip to content

Commit 573cffc

Browse files
committed
Fix typos
Backpatch to: 9.4
1 parent 0887382 commit 573cffc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/include/replication/reorderbuffer.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ typedef struct ReorderBufferChange
7878
RepOriginId origin_id;
7979

8080
/*
81-
* Context data for the change, which part of the union is valid depends
82-
* on action/action_internal.
81+
* Context data for the change. Which part of the union is valid depends
82+
* on action.
8383
*/
8484
union
8585
{
@@ -245,7 +245,7 @@ typedef struct ReorderBufferTXN
245245
/* ---
246246
* Position in one of three lists:
247247
* * list of subtransactions if we are *known* to be subxact
248-
* * list of toplevel xacts (can be am as-yet unknown subxact)
248+
* * list of toplevel xacts (can be an as-yet unknown subxact)
249249
* * list of preallocated ReorderBufferTXNs
250250
* ---
251251
*/
@@ -283,7 +283,7 @@ struct ReorderBuffer
283283

284284
/*
285285
* Transactions that could be a toplevel xact, ordered by LSN of the first
286-
* record bearing that xid..
286+
* record bearing that xid.
287287
*/
288288
dlist_head toplevel_by_lsn;
289289

@@ -295,7 +295,7 @@ struct ReorderBuffer
295295
ReorderBufferTXN *by_txn_last_txn;
296296

297297
/*
298-
* Callacks to be called when a transactions commits.
298+
* Callbacks to be called when a transactions commits.
299299
*/
300300
ReorderBufferBeginCB begin;
301301
ReorderBufferApplyChangeCB apply_change;
@@ -318,7 +318,7 @@ struct ReorderBuffer
318318
* overhead we cache some unused ones here.
319319
*
320320
* The maximum number of cached entries is controlled by const variables
321-
* ontop of reorderbuffer.c
321+
* on top of reorderbuffer.c
322322
*/
323323

324324
/* cached ReorderBufferTXNs */

0 commit comments

Comments
 (0)