Commit 93f9af13 authored by Tomas Vondra's avatar Tomas Vondra

Fix typos in comments about extended statistics

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20210505210947.GA27406%40telsasoft.com
parent 8d4b311d
...@@ -1945,7 +1945,7 @@ generateClonedExtStatsStmt(RangeVar *heapRel, Oid heapRelid, ...@@ -1945,7 +1945,7 @@ generateClonedExtStatsStmt(RangeVar *heapRel, Oid heapRelid,
* simply append them after simple column references. * simply append them after simple column references.
* *
* XXX Some places during build/estimation treat expressions as if they * XXX Some places during build/estimation treat expressions as if they
* are before atttibutes, but for the CREATE command that's entirely * are before attributes, but for the CREATE command that's entirely
* irrelevant. * irrelevant.
*/ */
datum = SysCacheGetAttr(STATEXTOID, ht_stats, datum = SysCacheGetAttr(STATEXTOID, ht_stats,
......
...@@ -1796,7 +1796,7 @@ statext_mcv_clauselist_selectivity(PlannerInfo *root, List *clauses, int varReli ...@@ -1796,7 +1796,7 @@ statext_mcv_clauselist_selectivity(PlannerInfo *root, List *clauses, int varReli
continue; continue;
/* /*
* Now we know the clause is compatible (we have either atttnums * Now we know the clause is compatible (we have either attnums
* or expressions extracted from it), and was not estimated yet. * or expressions extracted from it), and was not estimated yet.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment