Skip to content

Commit 93f9af1

Browse files
committed
Fix typos in comments about extended statistics
Reported-by: Justin Pryzby Discussion: https://postgr.es/m/20210505210947.GA27406%40telsasoft.com
1 parent 8d4b311 commit 93f9af1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/parser/parse_utilcmd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ generateClonedExtStatsStmt(RangeVar *heapRel, Oid heapRelid,
19451945
* simply append them after simple column references.
19461946
*
19471947
* XXX Some places during build/estimation treat expressions as if they
1948-
* are before atttibutes, but for the CREATE command that's entirely
1948+
* are before attributes, but for the CREATE command that's entirely
19491949
* irrelevant.
19501950
*/
19511951
datum = SysCacheGetAttr(STATEXTOID, ht_stats,

src/backend/statistics/extended_stats.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ statext_mcv_clauselist_selectivity(PlannerInfo *root, List *clauses, int varReli
17961796
continue;
17971797

17981798
/*
1799-
* Now we know the clause is compatible (we have either atttnums
1799+
* Now we know the clause is compatible (we have either attnums
18001800
* or expressions extracted from it), and was not estimated yet.
18011801
*/
18021802

0 commit comments

Comments
 (0)