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
commit573cffc7a057f3147c23ea4d30a14c3e731a977a (patch)
tree4e69062c34d78863a4e91c3197808fd2717a16d3
parent0887382c2f2fd4c56b964a5cb2c945db14cd5f06 (diff)
downloadpostgresql-573cffc7a057f3147c23ea4d30a14c3e731a977a.tar.gz
postgresql-573cffc7a057f3147c23ea4d30a14c3e731a977a.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 110e78e7a8e..bf0d790053b 100644
--- a/src/include/replication/reorderbuffer.h
+++ b/src/include/replication/reorderbuffer.h
@@ -78,8 +78,8 @@ typedef struct ReorderBufferChange
RepOriginId origin_id;
/*
- * 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
{
@@ -245,7 +245,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 am as-yet unknown subxact)
+ * * list of toplevel xacts (can be an as-yet unknown subxact)
* * list of preallocated ReorderBufferTXNs
* ---
*/
@@ -283,7 +283,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;
@@ -295,7 +295,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;
@@ -318,7 +318,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 */