aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-06-15 11:44:33 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-06-15 11:44:33 -0400
commit3ab7912c18b6df4d6843d0e0cd6183e7f4912cbb (patch)
tree75ad9000ea04121326b744dbe08e473f54108f43 /src/backend
parent915379c3c2613f2b24d4e9c6fa79a43e7c6a86ec (diff)
downloadpostgresql-3ab7912c18b6df4d6843d0e0cd6183e7f4912cbb.tar.gz
postgresql-3ab7912c18b6df4d6843d0e0cd6183e7f4912cbb.zip
Rename function for consistency
Avoid using prefix "staext" when everything else uses "statext". Author: Kyotaro HORIGUCHI Discussion: https://postgr.es/m/20170615.140041.165731947.horiguchi.kyotaro@lab.ntt.co.jp
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/statistics/dependencies.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/statistics/dependencies.c b/src/backend/statistics/dependencies.c
index 793b2da766e..ba3b1d00bb1 100644
--- a/src/backend/statistics/dependencies.c
+++ b/src/backend/statistics/dependencies.c
@@ -633,11 +633,11 @@ dependency_implies_attribute(MVDependency *dependency, AttrNumber attnum)
}
/*
- * staext_dependencies_load
+ * statext_dependencies_load
* Load the functional dependencies for the indicated pg_statistic_ext tuple
*/
MVDependencies *
-staext_dependencies_load(Oid mvoid)
+statext_dependencies_load(Oid mvoid)
{
bool isnull;
Datum deps;
@@ -987,7 +987,7 @@ dependencies_clauselist_selectivity(PlannerInfo *root,
}
/* load the dependency items stored in the statistics object */
- dependencies = staext_dependencies_load(stat->statOid);
+ dependencies = statext_dependencies_load(stat->statOid);
/*
* Apply the dependencies recursively, starting with the widest/strongest