From e9c0335c3306f7737c7b3fc0cf0c36ff19397e19 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 26 Oct 2016 11:12:31 +0300 Subject: [PATCH] Fix typos in comments. Vinayak Pokale --- src/backend/postmaster/pgstat.c | 2 +- src/backend/replication/logical/reorderbuffer.c | 2 +- src/include/pgstat.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index 9412bb7e43..2818e6f421 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -2406,7 +2406,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 3ae8af273b..2b21b93fdb 100644 --- a/src/backend/replication/logical/reorderbuffer.c +++ b/src/backend/replication/logical/reorderbuffer.c @@ -2554,7 +2554,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, diff --git a/src/include/pgstat.h b/src/include/pgstat.h index dc3320d091..ff0c60b8a4 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -819,7 +819,7 @@ typedef struct PgBackendStatus /* * Command progress reporting. Any command which wishes can advertise * that it is running by setting st_progress_command, - * st_progress_command_target, and st_progress_command[]. + * st_progress_command_target, and st_progress_param[]. * st_progress_command_target should be the OID of the relation which the * command targets (we assume there's just one, as this is meant for * utility commands), but the meaning of each element in the -- 2.40.0