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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
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