Commit 56f39009 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix typos in comments.

Vinayak Pokale
parent 8a2f08fb
...@@ -2411,7 +2411,7 @@ pgstat_fetch_stat_beentry(int beid) ...@@ -2411,7 +2411,7 @@ pgstat_fetch_stat_beentry(int beid)
/* ---------- /* ----------
* pgstat_fetch_stat_local_beentry() - * 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) * xid and xmin values of the backend)
* *
* NB: caller is responsible for a check if the user is permitted to see * NB: caller is responsible for a check if the user is permitted to see
......
...@@ -2552,7 +2552,7 @@ ReorderBufferRestoreChange(ReorderBuffer *rb, ReorderBufferTXN *txn, ...@@ -2552,7 +2552,7 @@ ReorderBufferRestoreChange(ReorderBuffer *rb, ReorderBufferTXN *txn,
Assert(change->data.msg.prefix[prefix_size - 1] == '\0'); Assert(change->data.msg.prefix[prefix_size - 1] == '\0');
data += prefix_size; data += prefix_size;
/* read the messsage */ /* read the message */
memcpy(&change->data.msg.message_size, data, sizeof(Size)); memcpy(&change->data.msg.message_size, data, sizeof(Size));
data += sizeof(Size); data += sizeof(Size);
change->data.msg.message = MemoryContextAlloc(rb->context, change->data.msg.message = MemoryContextAlloc(rb->context,
......
...@@ -895,7 +895,7 @@ typedef struct PgBackendStatus ...@@ -895,7 +895,7 @@ typedef struct PgBackendStatus
/* /*
* Command progress reporting. Any command which wishes can advertise * Command progress reporting. Any command which wishes can advertise
* that it is running by setting st_progress_command, * 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 * 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 * command targets (we assume there's just one, as this is meant for
* utility commands), but the meaning of each element in the * utility commands), but the meaning of each element in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment