Fix typos in comments
authorDaniel Gustafsson <[email protected]>
Wed, 27 Oct 2021 20:38:38 +0000 (22:38 +0200)
committerDaniel Gustafsson <[email protected]>
Wed, 27 Oct 2021 20:38:38 +0000 (22:38 +0200)
Author: Peter Smith <[email protected]>
Discussion: https://postgr.es/m/CAHut+PsN_gmKu-KfeEb9NDARoTPbs4AN4PPu=6LZXFZRJ13SEw@mail.gmail.com

src/backend/access/transam/xlogreader.c
src/backend/commands/copyfrom.c

index 4b03577dccd8330b907ea00ec090628442573635..f39f8044a96256ebe7ac95354329c933f399dba8 100644 (file)
@@ -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.
  *
index 40a54ad0bd7359cfcff7d0dd1596fbd5b69e66c7..f366a818a14fccbfc7135b041ad578519a3be47e 100644 (file)
@@ -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);