]> granicus.if.org Git - postgresql/commitdiff
Fix typos in comments.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 26 Oct 2016 08:12:31 +0000 (11:12 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 26 Oct 2016 08:13:17 +0000 (11:13 +0300)
Vinayak Pokale

src/backend/postmaster/pgstat.c
src/backend/replication/logical/reorderbuffer.c
src/include/pgstat.h

index 9412bb7e43834dd88ebea9c733645f204f7452ab..2818e6f421890e78c9abd0fb019d7197ec96ac0b 100644 (file)
@@ -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
index 3ae8af273b551882d73b70ac7fb54efe934c2817..2b21b93fdbb98ecf50c121c1f539829838eac06e 100644 (file)
@@ -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,
index dc3320d091fbc9138454ce57a90d3ec1e9bab745..ff0c60b8a4f920a8cb23ed769c7360fda2ce1066 100644 (file)
@@ -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