mirror of
https://github.com/postgres/postgres.git
synced 2025-11-15 03:41:20 +03:00
Fix typos in comments.
Thom Brown
This commit is contained in:
@@ -933,7 +933,7 @@ keyGetItem(GinState *ginstate, MemoryContext tempCtx, GinScanKey key,
|
||||
/*
|
||||
* Ok, we now know that there are no matches < minItem.
|
||||
*
|
||||
* If minItem is lossy, it means that there there were no exact items on
|
||||
* If minItem is lossy, it means that there were no exact items on
|
||||
* the page among requiredEntries, because lossy pointers sort after exact
|
||||
* items. However, there might be exact items for the same page among
|
||||
* additionalEntries, so we mustn't advance past them.
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* a GIN scan can apply various optimizations, if it can determine that an
|
||||
* item matches or doesn't match, even if it doesn't know if some of the keys
|
||||
* are present or not. Hence, it's useful to have a ternary-logic consistent
|
||||
* function, where where each key can be TRUE (present), FALSE (not present),
|
||||
* function, where each key can be TRUE (present), FALSE (not present),
|
||||
* or MAYBE (don't know if present). This file provides such a ternary-logic
|
||||
* consistent function, implemented by calling the regular boolean consistent
|
||||
* function many times, with all the MAYBE arguments set to all combinations
|
||||
|
||||
@@ -783,9 +783,9 @@ raw_heap_insert(RewriteState state, HeapTuple tup)
|
||||
* deal with WAL logging at all - an fsync() at the end of a rewrite would be
|
||||
* sufficient for crash safety. Any mapping that hasn't been safely flushed to
|
||||
* disk has to be by an aborted (explicitly or via a crash) transaction and is
|
||||
* ignored by virtue of the xid in it's name being subject to a
|
||||
* ignored by virtue of the xid in its name being subject to a
|
||||
* TransactionDidCommit() check. But we want to support having standbys via
|
||||
* physical replication, both for availability and to to do logical decoding
|
||||
* physical replication, both for availability and to do logical decoding
|
||||
* there.
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1046,7 +1046,7 @@ logical_rewrite_log_mapping(RewriteState state, TransactionId xid,
|
||||
|
||||
/*
|
||||
* Perform logical remapping for a tuple that's mapped from old_tid to
|
||||
* new_tuple->t_self by rewrite_heap_tuple() iff necessary for the tuple.
|
||||
* new_tuple->t_self by rewrite_heap_tuple() if necessary for the tuple.
|
||||
*/
|
||||
static void
|
||||
logical_rewrite_heap_tuple(RewriteState state, ItemPointerData old_tid,
|
||||
|
||||
Reference in New Issue
Block a user