aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2021-10-27 22:38:38 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2021-10-27 22:38:38 +0200
commit8af57ad81578f825ac8c46840c841833db205106 (patch)
tree499951d4d37026428abc704c58193a00975c5a0f
parentc2381b51049bad5dd1863ab1116b315bd7693b7c (diff)
downloadpostgresql-8af57ad81578f825ac8c46840c841833db205106.tar.gz
postgresql-8af57ad81578f825ac8c46840c841833db205106.zip
Fix typos in comments
Author: Peter Smith <smithpb2250@gmail.com> Discussion: https://postgr.es/m/CAHut+PsN_gmKu-KfeEb9NDARoTPbs4AN4PPu=6LZXFZRJ13SEw@mail.gmail.com
-rw-r--r--src/backend/access/transam/xlogreader.c2
-rw-r--r--src/backend/commands/copyfrom.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c
index 4b03577dccd..f39f8044a96 100644
--- a/src/backend/access/transam/xlogreader.c
+++ b/src/backend/access/transam/xlogreader.c
@@ -231,7 +231,7 @@ WALOpenSegmentInit(WALOpenSegment *seg, WALSegmentContext *segcxt,
/*
* Begin reading WAL at 'RecPtr'.
*
- * 'RecPtr' should point to the beginnning of a valid WAL record. Pointing at
+ * 'RecPtr' should point to the beginning of a valid WAL record. Pointing at
* the beginning of a page is also OK, if there is a new record right after
* the page header, i.e. not a continuation.
*
diff --git a/src/backend/commands/copyfrom.c b/src/backend/commands/copyfrom.c
index 40a54ad0bd7..f366a818a14 100644
--- a/src/backend/commands/copyfrom.c
+++ b/src/backend/commands/copyfrom.c
@@ -1237,7 +1237,7 @@ BeginCopyFrom(ParseState *pstate,
tupDesc = RelationGetDescr(cstate->rel);
- /* process commmon options or initialization */
+ /* process common options or initialization */
/* Generate or convert list of attributes to process */
cstate->attnumlist = CopyGetAttnums(tupDesc, cstate->rel, attnamelist);