1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Fix some grammar and typos in comments and docs

The documentation fixes are backpatched down to where they apply.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20201031020801.GD3080@telsasoft.com
Backpatch-through: 9.6
This commit is contained in:
Michael Paquier
2020-11-02 15:14:41 +09:00
parent 644f0d7cc9
commit 8a15e735be
25 changed files with 28 additions and 28 deletions

View File

@ -560,7 +560,7 @@ verify_heapam_tupdesc(void)
* Since we do not hold a snapshot, tuple visibility is not a question of
* whether we should be able to see the tuple relative to any particular
* snapshot, but rather a question of whether it is safe and reasonable to
* to check the tuple attributes.
* check the tuple attributes.
*
* Some kinds of corruption make it unsafe to check the tuple attributes, for
* example when the line pointer refers to a range of bytes outside the page.
@ -1342,7 +1342,7 @@ fxid_in_cached_range(FullTransactionId fxid, const HeapCheckContext *ctx)
}
/*
* Checks wheter a multitransaction ID is in the cached valid range, returning
* Checks whether a multitransaction ID is in the cached valid range, returning
* the nature of the range violation, if any.
*/
static XidBoundsViolation

View File

@ -291,7 +291,7 @@ restart:
* A stream must be terminated by a normal packet. If the last stream
* packet in the source stream is a full packet, a normal empty packet
* must follow. Since the underlying packet reader doesn't know that
* the compressed stream has been ended, we need to to consume the
* the compressed stream has been ended, we need to consume the
* terminating packet here. This read does not harm even if the
* stream has already ended.
*/