mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
Fix typos in comments.
Author: Etsuro Fujita <etsuro.fujita@gmail.com> Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> Discussion: https://postgr.es/m/CAPmGK14otpa7XZyBO5GxDABUK9OPWFLsAwoQP3ugNdXq%3DK4J1g%40mail.gmail.com Backpatch-through: 19
This commit is contained in:
@@ -5637,10 +5637,10 @@ fetch_remote_statistics(Relation relation,
|
||||
}
|
||||
|
||||
/*
|
||||
* If the reltuples value > 0, then then we can expect to find attribute
|
||||
* stats for the remote table.
|
||||
* If the reltuples value > 0, then we can expect to find attribute stats
|
||||
* for the remote table.
|
||||
*
|
||||
* In v14 or latter, if a reltuples value is -1, it means the table has
|
||||
* In v14 or later, if a reltuples value is -1, it means the table has
|
||||
* never been analyzed, so we wouldn't expect to find the stats for the
|
||||
* table; fallback to sampling in that case. If the value is 0, it means
|
||||
* it was empty; in which case skip the stats and import relation stats
|
||||
@@ -5793,7 +5793,7 @@ fetch_attstats(PGconn *conn, int server_version_num,
|
||||
}
|
||||
|
||||
/*
|
||||
* Build the mapping of local columns to remote columns and create a column
|
||||
* Build the mappings of local columns to remote columns and create a column
|
||||
* list used for constructing the fetch_attstats query.
|
||||
*/
|
||||
static RemoteAttributeMapping *
|
||||
@@ -5849,7 +5849,7 @@ build_remattrmap(Relation relation, List *va_cols,
|
||||
}
|
||||
appendStringInfoChar(column_list, ']');
|
||||
|
||||
/* Sort mapping by remote attribute name if needed. */
|
||||
/* Sort mappings by remote attribute name if needed. */
|
||||
if (attrcnt > 1)
|
||||
qsort(remattrmap, attrcnt, sizeof(RemoteAttributeMapping), remattrmap_cmp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user