aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-02-25 20:50:20 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-02-25 20:50:20 -0300
commitf6a605702aa15f7a49da1ec0ab60a8abd956c139 (patch)
tree38a6de3ca986b2efb2a55e6e5e320a3d62d4c779
parent78e329340e0518894f5a865c6bb7c0fc77a577b6 (diff)
downloadpostgresql-f6a605702aa15f7a49da1ec0ab60a8abd956c139.tar.gz
postgresql-f6a605702aa15f7a49da1ec0ab60a8abd956c139.zip
Fix typos
Backpatch to: 9.4
-rw-r--r--src/include/replication/reorderbuffer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h
index 7ce0a4221f6..3ee3b5a0c46 100644
--- a/src/include/replication/reorderbuffer.h
+++ b/src/include/replication/reorderbuffer.h
@@ -65,8 +65,8 @@ typedef struct ReorderBufferChange
enum ReorderBufferChangeType action;
/*
- * Context data for the change, which part of the union is valid depends
- * on action/action_internal.
+ * Context data for the change. Which part of the union is valid depends
+ * on action.
*/
union
{
@@ -228,7 +228,7 @@ typedef struct ReorderBufferTXN
/* ---
* Position in one of three lists:
* * list of subtransactions if we are *known* to be subxact
- * * list of toplevel xacts (can be a as-yet unknown subxact)
+ * * list of toplevel xacts (can be an as-yet unknown subxact)
* * list of preallocated ReorderBufferTXNs
* ---
*/
@@ -266,7 +266,7 @@ struct ReorderBuffer
/*
* Transactions that could be a toplevel xact, ordered by LSN of the first
- * record bearing that xid..
+ * record bearing that xid.
*/
dlist_head toplevel_by_lsn;
@@ -278,7 +278,7 @@ struct ReorderBuffer
ReorderBufferTXN *by_txn_last_txn;
/*
- * Callacks to be called when a transactions commits.
+ * Callbacks to be called when a transactions commits.
*/
ReorderBufferBeginCB begin;
ReorderBufferApplyChangeCB apply_change;
@@ -301,7 +301,7 @@ struct ReorderBuffer
* overhead we cache some unused ones here.
*
* The maximum number of cached entries is controlled by const variables
- * ontop of reorderbuffer.c
+ * on top of reorderbuffer.c
*/
/* cached ReorderBufferTXNs */