postgres.git / summary / log / commit / refs
commit ca8d4bdb047f97f00f03915bcd5fcb3d89534027
Author: Michael Paquier <michael@paquier.xyz>
Date: Mon Aug 31 23:12:38 2026 +0000
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 e65c8dac4a4..5649d01ebe7 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))
[parent: 347486775812]