Skip to content

Commit 56f3900

Browse files
committed
Fix typos in comments.
Vinayak Pokale
1 parent 8a2f08f commit 56f3900

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
@@ -2411,7 +2411,7 @@ pgstat_fetch_stat_beentry(int beid)
24112411
/* ----------
24122412
* pgstat_fetch_stat_local_beentry() -
24132413
*
2414-
* Like pgstat_fetch_stat_beentry() but with locally computed addtions (like
2414+
* Like pgstat_fetch_stat_beentry() but with locally computed additions (like
24152415
* xid and xmin values of the backend)
24162416
*
24172417
* 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
@@ -2552,7 +2552,7 @@ ReorderBufferRestoreChange(ReorderBuffer *rb, ReorderBufferTXN *txn,
25522552
Assert(change->data.msg.prefix[prefix_size - 1] == '\0');
25532553
data += prefix_size;
25542554

2555-
/* read the messsage */
2555+
/* read the message */
25562556
memcpy(&change->data.msg.message_size, data, sizeof(Size));
25572557
data += sizeof(Size);
25582558
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
@@ -895,7 +895,7 @@ typedef struct PgBackendStatus
895895
/*
896896
* Command progress reporting. Any command which wishes can advertise
897897
* that it is running by setting st_progress_command,
898-
* st_progress_command_target, and st_progress_command[].
898+
* st_progress_command_target, and st_progress_param[].
899899
* st_progress_command_target should be the OID of the relation which the
900900
* command targets (we assume there's just one, as this is meant for
901901
* utility commands), but the meaning of each element in the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy