Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3ab7912

Browse files
committed
Rename function for consistency
Avoid using prefix "staext" when everything else uses "statext".Author: Kyotaro HORIGUCHIDiscussion:https://postgr.es/m/20170615.140041.165731947.horiguchi.kyotaro@lab.ntt.co.jp
1 parent915379c commit3ab7912

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/statistics/dependencies.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,11 +633,11 @@ dependency_implies_attribute(MVDependency *dependency, AttrNumber attnum)
633633
}
634634

635635
/*
636-
*staext_dependencies_load
636+
*statext_dependencies_load
637637
*Load the functional dependencies for the indicated pg_statistic_ext tuple
638638
*/
639639
MVDependencies*
640-
staext_dependencies_load(Oidmvoid)
640+
statext_dependencies_load(Oidmvoid)
641641
{
642642
boolisnull;
643643
Datumdeps;
@@ -987,7 +987,7 @@ dependencies_clauselist_selectivity(PlannerInfo *root,
987987
}
988988

989989
/* load the dependency items stored in the statistics object */
990-
dependencies=staext_dependencies_load(stat->statOid);
990+
dependencies=statext_dependencies_load(stat->statOid);
991991

992992
/*
993993
* Apply the dependencies recursively, starting with the widest/strongest

‎src/include/statistics/statistics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ typedef struct MVDependencies
7878
#defineSizeOfDependencies(offsetof(MVDependencies, ndeps) + sizeof(uint32))
7979

8080
externMVNDistinct*statext_ndistinct_load(Oidmvoid);
81-
externMVDependencies*staext_dependencies_load(Oidmvoid);
81+
externMVDependencies*statext_dependencies_load(Oidmvoid);
8282

8383
externvoidBuildRelationExtStatistics(Relationonerel,doubletotalrows,
8484
intnumrows,HeapTuple*rows,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp