Skip to content

Commit 4667d97

Browse files
committed
Fix typos in commit 05d4cbf.
Reported by Justin Pryzby. Discussion: http://postgr.es/m/20220927185121.GE6256@telsasoft.com
1 parent c8b2ef0 commit 4667d97

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/backend/access/rmgrdesc/xlogdesc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ xlog_desc(StringInfo buf, XLogReaderState *record)
4545
CheckPoint *checkpoint = (CheckPoint *) rec;
4646

4747
appendStringInfo(buf, "redo %X/%X; "
48-
"tli %u; prev tli %u; fpw %s; xid %u:%u; relfilenumber " UINT64_FORMAT ";oid %u; "
48+
"tli %u; prev tli %u; fpw %s; xid %u:%u; relfilenumber " UINT64_FORMAT "; oid %u; "
4949
"multi %u; offset %u; oldest xid %u in DB %u; oldest multi %u in DB %u; "
5050
"oldest/newest commit timestamp xid: %u/%u; "
5151
"oldest running xid %u; %s",

src/backend/access/transam/varsup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ SetNextRelFileNumber(RelFileNumber relnumber)
796796
* (This is less efficient than GetNewRelFileNumber, which arranges to
797797
* log some new relfilenumbers before the old batch is exhausted in the
798798
* hope that a flush will happen in the background before any values are
799-
* needed from the new batch. However, since thais is only used during
799+
* needed from the new batch. However, since this is only used during
800800
* binary upgrade, it shouldn't really matter.)
801801
*/
802802
if (relnumber >= ShmemVariableCache->flushedRelFileNumber)

src/backend/catalog/storage.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ smgr_redo(XLogReaderState *record)
969969
SMgrRelation reln;
970970

971971
if (xlrec->rlocator.relNumber > ShmemVariableCache->nextRelFileNumber)
972-
elog(ERROR, "unexpected relnumber " UINT64_FORMAT " that is bigger than nextRelFileNumber " UINT64_FORMAT,
972+
elog(ERROR, "unexpected relnumber " UINT64_FORMAT " is bigger than nextRelFileNumber " UINT64_FORMAT,
973973
xlrec->rlocator.relNumber, ShmemVariableCache->nextRelFileNumber);
974974

975975
reln = smgropen(xlrec->rlocator, InvalidBackendId);
@@ -986,7 +986,7 @@ smgr_redo(XLogReaderState *record)
986986
bool need_fsm_vacuum = false;
987987

988988
if (xlrec->rlocator.relNumber > ShmemVariableCache->nextRelFileNumber)
989-
elog(ERROR, "unexpected relnumber " UINT64_FORMAT "that is bigger than nextRelFileNumber " UINT64_FORMAT,
989+
elog(ERROR, "unexpected relnumber " UINT64_FORMAT " is bigger than nextRelFileNumber " UINT64_FORMAT,
990990
xlrec->rlocator.relNumber, ShmemVariableCache->nextRelFileNumber);
991991

992992
reln = smgropen(xlrec->rlocator, InvalidBackendId);

src/fe_utils/option_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ option_parse_int(const char *optarg, const char *optname,
8888
* option_parse_relfilenumber
8989
*
9090
* Parse relfilenumber value for an option. If the parsing is successful,
91-
* returns; if parsing fails, returns false.
91+
* returns true; if parsing fails, returns false.
9292
*/
9393
bool
9494
option_parse_relfilenumber(const char *optarg, const char *optname)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy