diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-10-26 11:12:31 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-10-26 11:12:31 +0300 |
commit | 56f39009c53e752493ca4478449a1311865dd51a (patch) | |
tree | fd151c6f1d68f74d0600e9d26d1e67111a17ee5a /src/backend | |
parent | 8a2f08fbeaf75f67da122b49f05f96257df3faed (diff) | |
download | postgresql-56f39009c53e752493ca4478449a1311865dd51a.tar.gz postgresql-56f39009c53e752493ca4478449a1311865dd51a.zip |
Fix typos in comments.
Vinayak Pokale
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/postmaster/pgstat.c | 2 | ||||
-rw-r--r-- | src/backend/replication/logical/reorderbuffer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index 5112d6d96dd..a3921977c57 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -2411,7 +2411,7 @@ pgstat_fetch_stat_beentry(int beid) /* ---------- * pgstat_fetch_stat_local_beentry() - * - * Like pgstat_fetch_stat_beentry() but with locally computed addtions (like + * Like pgstat_fetch_stat_beentry() but with locally computed additions (like * xid and xmin values of the backend) * * NB: caller is responsible for a check if the user is permitted to see diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c index 6ad7e7de76c..fa84bd8776c 100644 --- a/src/backend/replication/logical/reorderbuffer.c +++ b/src/backend/replication/logical/reorderbuffer.c @@ -2552,7 +2552,7 @@ ReorderBufferRestoreChange(ReorderBuffer *rb, ReorderBufferTXN *txn, Assert(change->data.msg.prefix[prefix_size - 1] == '\0'); data += prefix_size; - /* read the messsage */ + /* read the message */ memcpy(&change->data.msg.message_size, data, sizeof(Size)); data += sizeof(Size); change->data.msg.message = MemoryContextAlloc(rb->context, |