postgres.git / summary / log / commit / refs
commit 9476ef206c64207a4fd2ddcb373759c7ede13a3c
Author: Michael Paquier <michael@paquier.xyz>
Date: Thu Feb 05 06:14:53 2026 +0000
First released in: 19.0
Fix comment in extended_stats_funcs.c
The attribute storing the statistics data for a set of expressions in
pg_statistic_ext_data is stxdexpr. stxdexprs does not exist.
Extracted from a larger patch by the same author. Incorrect as of
efbebb4e8587.
Author: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/CADkLM=fPcci6oPyuyEZ0F4bWqAA7HzaWO+ZPptufuX5_uWt6kw@mail.gmail.com
src/backend/statistics/extended_stats_funcs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/statistics/extended_stats_funcs.c b/src/backend/statistics/extended_stats_funcs.c
index db107684607..b640941a9cc 100644
--- a/src/backend/statistics/extended_stats_funcs.c
+++ b/src/backend/statistics/extended_stats_funcs.c
@@ -539,7 +539,7 @@ extended_statistics_update(FunctionCallInfo fcinfo)
/*
* After all the positive number attnums in stxkeys come the negative
* numbers (if any) which represent expressions in the order that they
- * appear in stxdexprs. Because the expressions are always
+ * appear in stxdexpr. Because the expressions are always
* monotonically decreasing from -1, there is no point in looking at
* the values in stxkeys, it's enough to know how many of them there
* are.
[parent: 7a1f0f8747a7]