mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Fix typos in commit 05d4cbf9b6ba708858984b01ca0fc56d59d4ec7c.
Reported by Justin Pryzby. Discussion: http://postgr.es/m/20220927185121.GE6256@telsasoft.com
This commit is contained in:
parent
c8b2ef05f4
commit
4667d97ca6
@ -45,7 +45,7 @@ xlog_desc(StringInfo buf, XLogReaderState *record)
|
|||||||
CheckPoint *checkpoint = (CheckPoint *) rec;
|
CheckPoint *checkpoint = (CheckPoint *) rec;
|
||||||
|
|
||||||
appendStringInfo(buf, "redo %X/%X; "
|
appendStringInfo(buf, "redo %X/%X; "
|
||||||
"tli %u; prev tli %u; fpw %s; xid %u:%u; relfilenumber " UINT64_FORMAT ";oid %u; "
|
"tli %u; prev tli %u; fpw %s; xid %u:%u; relfilenumber " UINT64_FORMAT "; oid %u; "
|
||||||
"multi %u; offset %u; oldest xid %u in DB %u; oldest multi %u in DB %u; "
|
"multi %u; offset %u; oldest xid %u in DB %u; oldest multi %u in DB %u; "
|
||||||
"oldest/newest commit timestamp xid: %u/%u; "
|
"oldest/newest commit timestamp xid: %u/%u; "
|
||||||
"oldest running xid %u; %s",
|
"oldest running xid %u; %s",
|
||||||
|
@ -796,7 +796,7 @@ SetNextRelFileNumber(RelFileNumber relnumber)
|
|||||||
* (This is less efficient than GetNewRelFileNumber, which arranges to
|
* (This is less efficient than GetNewRelFileNumber, which arranges to
|
||||||
* log some new relfilenumbers before the old batch is exhausted in the
|
* log some new relfilenumbers before the old batch is exhausted in the
|
||||||
* hope that a flush will happen in the background before any values are
|
* hope that a flush will happen in the background before any values are
|
||||||
* needed from the new batch. However, since thais is only used during
|
* needed from the new batch. However, since this is only used during
|
||||||
* binary upgrade, it shouldn't really matter.)
|
* binary upgrade, it shouldn't really matter.)
|
||||||
*/
|
*/
|
||||||
if (relnumber >= ShmemVariableCache->flushedRelFileNumber)
|
if (relnumber >= ShmemVariableCache->flushedRelFileNumber)
|
||||||
|
@ -969,7 +969,7 @@ smgr_redo(XLogReaderState *record)
|
|||||||
SMgrRelation reln;
|
SMgrRelation reln;
|
||||||
|
|
||||||
if (xlrec->rlocator.relNumber > ShmemVariableCache->nextRelFileNumber)
|
if (xlrec->rlocator.relNumber > ShmemVariableCache->nextRelFileNumber)
|
||||||
elog(ERROR, "unexpected relnumber " UINT64_FORMAT " that is bigger than nextRelFileNumber " UINT64_FORMAT,
|
elog(ERROR, "unexpected relnumber " UINT64_FORMAT " is bigger than nextRelFileNumber " UINT64_FORMAT,
|
||||||
xlrec->rlocator.relNumber, ShmemVariableCache->nextRelFileNumber);
|
xlrec->rlocator.relNumber, ShmemVariableCache->nextRelFileNumber);
|
||||||
|
|
||||||
reln = smgropen(xlrec->rlocator, InvalidBackendId);
|
reln = smgropen(xlrec->rlocator, InvalidBackendId);
|
||||||
@ -986,7 +986,7 @@ smgr_redo(XLogReaderState *record)
|
|||||||
bool need_fsm_vacuum = false;
|
bool need_fsm_vacuum = false;
|
||||||
|
|
||||||
if (xlrec->rlocator.relNumber > ShmemVariableCache->nextRelFileNumber)
|
if (xlrec->rlocator.relNumber > ShmemVariableCache->nextRelFileNumber)
|
||||||
elog(ERROR, "unexpected relnumber " UINT64_FORMAT "that is bigger than nextRelFileNumber " UINT64_FORMAT,
|
elog(ERROR, "unexpected relnumber " UINT64_FORMAT " is bigger than nextRelFileNumber " UINT64_FORMAT,
|
||||||
xlrec->rlocator.relNumber, ShmemVariableCache->nextRelFileNumber);
|
xlrec->rlocator.relNumber, ShmemVariableCache->nextRelFileNumber);
|
||||||
|
|
||||||
reln = smgropen(xlrec->rlocator, InvalidBackendId);
|
reln = smgropen(xlrec->rlocator, InvalidBackendId);
|
||||||
|
@ -88,7 +88,7 @@ option_parse_int(const char *optarg, const char *optname,
|
|||||||
* option_parse_relfilenumber
|
* option_parse_relfilenumber
|
||||||
*
|
*
|
||||||
* Parse relfilenumber value for an option. If the parsing is successful,
|
* Parse relfilenumber value for an option. If the parsing is successful,
|
||||||
* returns; if parsing fails, returns false.
|
* returns true; if parsing fails, returns false.
|
||||||
*/
|
*/
|
||||||
bool
|
bool
|
||||||
option_parse_relfilenumber(const char *optarg, const char *optname)
|
option_parse_relfilenumber(const char *optarg, const char *optname)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user