Skip to content

Commit e33a143

Browse files
author
Amit Kapila
committed
Fix few typos and minor word smithing in tableam comments.
Reported-by: Ashwin Agrawal Author: Ashwin Agrawal Reviewed-by: Amit Kapila Backpatch-through: 12, where it was introduced Discussion: https://postgr.es/m/CALfoeisgdZhYDrJOukaBzvXfJOK2FQ0szVMK7dzmcy6w93iDUA@mail.gmail.com
1 parent abbb2e1 commit e33a143

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/include/access/tableam.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ typedef struct TableAmRoutine
434434
*
435435
* Note that only the subset of the relcache filled by
436436
* RelationBuildLocalRelation() can be relied upon and that the relation's
437-
* catalog entries either will either not yet exist (new relation), or
438-
* will still reference the old relfilenode.
437+
* catalog entries will either not yet exist (new relation), or will still
438+
* reference the old relfilenode.
439439
*
440440
* As output *freezeXid, *minmulti must be set to the values appropriate
441441
* for pg_class.{relfrozenxid, relminmxid}. For AMs that don't need those
@@ -591,7 +591,7 @@ typedef struct TableAmRoutine
591591
* See table_relation_estimate_size().
592592
*
593593
* While block oriented, it shouldn't be too hard for an AM that doesn't
594-
* doesn't internally use blocks to convert into a usable representation.
594+
* internally use blocks to convert into a usable representation.
595595
*
596596
* This differs from the relation_size callback by returning size
597597
* estimates (both relation size and tuple count) for planning purposes,
@@ -967,7 +967,7 @@ table_index_fetch_end(struct IndexFetchTableData *scan)
967967
*
968968
* *all_dead, if all_dead is not NULL, will be set to true by
969969
* table_index_fetch_tuple() iff it is guaranteed that no backend needs to see
970-
* that tuple. Index AMs can use that do avoid returning that tid in future
970+
* that tuple. Index AMs can use that to avoid returning that tid in future
971971
* searches.
972972
*
973973
* The difference between this function and table_fetch_row_version is that
@@ -1014,8 +1014,8 @@ extern bool table_index_fetch_tuple_check(Relation rel,
10141014
* true, false otherwise.
10151015
*
10161016
* See table_index_fetch_tuple's comment about what the difference between
1017-
* these functions is. This function is the correct to use outside of
1018-
* index entry->table tuple lookups.
1017+
* these functions is. It is correct to use this function outside of index
1018+
* entry->table tuple lookups.
10191019
*/
10201020
static inline bool
10211021
table_tuple_fetch_row_version(Relation rel,

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