From 4cb560b53f8f9e9a94d593f9416c107ed8202110 Mon Sep 17 00:00:00 2001 From: Dean Rasheed Date: Tue, 14 Jan 2025 13:50:54 +0000 Subject: Consistently spell "leakproof" without a hyphen. The overwhelming majority of places already did this, but a small handful of places had a hyphen. Yugo Nagata. Discussion: https://postgr.es/m/CAEZATCXnnuORE2BoGwHw2zbtVvsPOLhbfVmEk9GxRzK%2Bx3OW-Q%40mail.gmail.com --- src/backend/utils/adt/selfuncs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/adt/selfuncs.c') diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c index 93e4a8906c5..d3d1e485bb2 100644 --- a/src/backend/utils/adt/selfuncs.c +++ b/src/backend/utils/adt/selfuncs.c @@ -5763,7 +5763,7 @@ examine_simple_variable(PlannerInfo *root, Var *var, * Check whether it is permitted to call func_oid passing some of the * pg_statistic data in vardata. We allow this either if the user has SELECT * privileges on the table or column underlying the pg_statistic data or if - * the function is marked leak-proof. + * the function is marked leakproof. */ bool statistic_proc_security_check(VariableStatData *vardata, Oid func_oid) @@ -5778,7 +5778,7 @@ statistic_proc_security_check(VariableStatData *vardata, Oid func_oid) return true; ereport(DEBUG2, - (errmsg_internal("not using statistics because function \"%s\" is not leak-proof", + (errmsg_internal("not using statistics because function \"%s\" is not leakproof", get_func_name(func_oid)))); return false; } -- cgit v1.2.3