Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bc279c9

Browse files
committed
Fix typos.
David Rowley
1 parent 0f565c0 commit bc279c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ StartReplication(StartReplicationCmd *cmd)
574574
* to find the requested WAL segment in pg_xlog.
575575
*
576576
* XXX: we could be more strict here and only allow a startpoint
577-
* that's older than the switchpoint, if it it's still in the same
577+
* that's older than the switchpoint, if it's still in the same
578578
* WAL segment.
579579
*/
580580
if (!XLogRecPtrIsInvalid(switchpoint) &&

src/bin/pg_basebackup/receivelog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ ReadEndOfStreamingResult(PGresult *res, XLogRecPtr *startpos, uint32 *timeline)
753753
* initiating streaming with the START_STREAMING command.
754754
*
755755
* If the COPY ends (not necessarily successfully) due a message from the
756-
* server, returns a PGresult and sets sets *stoppos to the last byte written.
756+
* server, returns a PGresult and sets *stoppos to the last byte written.
757757
* On any other sort of error, returns NULL.
758758
*/
759759
static PGresult *

src/interfaces/ecpg/pgtypeslib/timestamp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ dttofmtasc_replace(timestamp * ts, date dDate, int dow, struct tm * tm,
419419
replace_val.str_val = months[tm->tm_mon];
420420
replace_type = PGTYPES_TYPE_STRING_CONSTANT;
421421
break;
422-
/* the full name name of the month */
422+
/* the full name of the month */
423423
/* XXX should be locale aware */
424424
case 'B':
425425
replace_val.str_val = pgtypes_date_months[tm->tm_mon];

0 commit comments

Comments
 (0)