typo-fixes-for-v13+.21-23.patch
text/x-patch
Filename: typo-fixes-for-v13+.21-23.patch
Type: text/x-patch
Part: 6
Patch
Format: unified
| File | + | − |
|---|---|---|
| contrib/amcheck/verify_nbtree.c | 1 | 1 |
| src/backend/access/transam/xlogreader.c | 1 | 1 |
| src/backend/replication/syncrep.c | 1 | 1 |
diff --git a/contrib/amcheck/verify_nbtree.c b/contrib/amcheck/verify_nbtree.c index eb280d4893..6979aff727 100644 --- a/contrib/amcheck/verify_nbtree.c +++ b/contrib/amcheck/verify_nbtree.c @@ -104,7 +104,7 @@ typedef struct BtreeCheckState /* * The rightlink and incomplete split flag of block one level down to the - * target page, which was visited last time via downlink from taget page. + * target page, which was visited last time via downlink from target page. * We use it to check for missing downlinks. */ BlockNumber prevrightlink; diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c index 133b09dd69..631f260f79 100644 --- a/src/backend/access/transam/xlogreader.c +++ b/src/backend/access/transam/xlogreader.c @@ -1476,7 +1476,7 @@ err: } /* - * Helper function to ease writing of XLogRoutine->page_read callbacks. + * Helper function to ease writing of XLogReaderRoutine->page_read callbacks. * If this function is used, caller must supply a segment_open callback in * 'state', as that is used here. * diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c index 889e20b5dd..c263a59690 100644 --- a/src/backend/replication/syncrep.c +++ b/src/backend/replication/syncrep.c @@ -804,7 +804,7 @@ standby_priority_comparator(const void *a, const void *b) /* * We might have equal priority values; arbitrarily break ties by position - * in the WALSnd array. (This is utterly bogus, since that is arrival + * in the WalSnd array. (This is utterly bogus, since that is arrival * order dependent, but there are regression tests that rely on it.) */ return sa->walsnd_index - sb->walsnd_index;