Skip to content

Commit e9c0335

Browse files
committed
Fix typos in comments.
Vinayak Pokale
1 parent e3c5e48 commit e9c0335

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/backend/postmaster/pgstat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2406,7 +2406,7 @@ pgstat_fetch_stat_beentry(int beid)
24062406
/* ----------
24072407
* pgstat_fetch_stat_local_beentry() -
24082408
*
2409-
* Like pgstat_fetch_stat_beentry() but with locally computed addtions (like
2409+
* Like pgstat_fetch_stat_beentry() but with locally computed additions (like
24102410
* xid and xmin values of the backend)
24112411
*
24122412
* NB: caller is responsible for a check if the user is permitted to see

src/backend/replication/logical/reorderbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@ ReorderBufferRestoreChange(ReorderBuffer *rb, ReorderBufferTXN *txn,
25542554
Assert(change->data.msg.prefix[prefix_size - 1] == '\0');
25552555
data += prefix_size;
25562556

2557-
/* read the messsage */
2557+
/* read the message */
25582558
memcpy(&change->data.msg.message_size, data, sizeof(Size));
25592559
data += sizeof(Size);
25602560
change->data.msg.message = MemoryContextAlloc(rb->context,

src/include/pgstat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ typedef struct PgBackendStatus
819819
/*
820820
* Command progress reporting. Any command which wishes can advertise
821821
* that it is running by setting st_progress_command,
822-
* st_progress_command_target, and st_progress_command[].
822+
* st_progress_command_target, and st_progress_param[].
823823
* st_progress_command_target should be the OID of the relation which the
824824
* command targets (we assume there's just one, as this is meant for
825825
* utility commands), but the meaning of each element in the

0 commit comments

Comments
 (0)