postgres.git / summary / log / commit / refs

commit    fa68aeeab115abf46abf8277f6dd6a89f5f93440
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Mon Aug 31 23:12:34 2026 +0000
First released in: 18.7, 19.0

    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 16b0dd6a003..c35892ce6d0 100644 --- a/src/backend/statistics/attribute_stats.c +++ b/src/backend/statistics/attribute_stats.c @@ -249,8 +249,8 @@ attribute_statistics_update_internal(Oid reloid, bool result = true; /* - * 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))