postgres.git / summary / log / commit / refs
commit dcf14ef31cd2d867004ede87d8060716ea62619d
Author: Michael Paquier <michael@paquier.xyz>
Date: Mon Aug 31 23:12:40 2026 +0000
First released in: 18.7
Fix comment in attribute_stats.c
Oversight in ce207d2a7901.
Author: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/CADkLM=eo7MtuCE=YjovW+=ASw1=q39qQ3qarrsw+EKfU901ztA@mail.gmail.com
Backpatch-through: 18
src/backend/statistics/attribute_stats.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/statistics/attribute_stats.c b/src/backend/statistics/attribute_stats.c
index 50f89ff0ac3..56293d94104 100644
--- a/src/backend/statistics/attribute_stats.c
+++ b/src/backend/statistics/attribute_stats.c
@@ -243,8 +243,8 @@ attribute_statistics_update(FunctionCallInfo fcinfo)
inherited = PG_GETARG_BOOL(INHERITED_ARG);
/*
- * Check argument sanity. If some arguments are unusable, emit a WARNING
- * and set the corresponding argument to NULL in fcinfo.
+ * Check argument sanity. If some arguments are unusable, emit a WARNING
+ * and skip the corresponding statistics kind, reporting back a failure.
*/
if (!stats_check_arg_array(fcinfo, attarginfo, MOST_COMMON_FREQS_ARG))
[parent: 1f02a1e488f7]