From dcf14ef31cd2d867004ede87d8060716ea62619d Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 1 Sep 2026 08:12:40 +0900 Subject: [PATCH] Fix comment in attribute_stats.c Oversight in ce207d2a7901. Author: Corey Huinker 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))