1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Fix misc typos, mostly in comments.

A collection of typos I happened to spot while reading code, as well as
grepping for common mistakes.

Backpatch to all supported versions, as applicable, to avoid conflicts
when backporting other commits in the future.
This commit is contained in:
Heikki Linnakangas
2018-07-09 16:10:44 +03:00
parent ac6b69c195
commit a9793e0735
12 changed files with 14 additions and 14 deletions

View File

@ -2555,7 +2555,7 @@ SetOffsetVacuumLimit(void)
/*
* NB: Have to prevent concurrent truncation, we might otherwise try to
* lookup a oldestMulti that's concurrently getting truncated away.
* lookup an oldestMulti that's concurrently getting truncated away.
*/
LWLockAcquire(MultiXactTruncationLock, LW_SHARED);
@ -2731,7 +2731,7 @@ find_multixact_start(MultiXactId multi, MultiXactOffset *result)
/*
* Flush out dirty data, so PhysicalPageExists can work correctly.
* SimpleLruFlush() is a pretty big hammer for that. Alternatively we
* could add a in-memory version of page exists, but find_multixact_start
* could add an in-memory version of page exists, but find_multixact_start
* is called infrequently, and it doesn't seem bad to flush buffers to
* disk before truncation.
*/