diff options
author | Dean Rasheed <dean.a.rasheed@gmail.com> | 2025-01-14 13:50:54 +0000 |
---|---|---|
committer | Dean Rasheed <dean.a.rasheed@gmail.com> | 2025-01-14 13:50:54 +0000 |
commit | 4cb560b53f8f9e9a94d593f9416c107ed8202110 (patch) | |
tree | 8b45ef28a2a23f769b1f5487afdd8a77469fecc0 /src | |
parent | 2355e51110e7c687c125a5958f12a462931de996 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/statistics/extended_stats.c | 4 | ||||
-rw-r--r-- | src/backend/utils/adt/selfuncs.c | 4 | ||||
-rw-r--r-- | src/include/catalog/pg_proc.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/statistics/extended_stats.c b/src/backend/statistics/extended_stats.c index 34dcb535e18..a8b63ec0884 100644 --- a/src/backend/statistics/extended_stats.c +++ b/src/backend/statistics/extended_stats.c @@ -1397,7 +1397,7 @@ statext_is_compatible_clause_internal(PlannerInfo *root, Node *clause, /* * If there are any securityQuals on the RTE from security barrier * views or RLS policies, then the user may not have access to all the - * table's data, and we must check that the operator is leak-proof. + * table's data, and we must check that the operator is leakproof. * * If the operator is leaky, then we must ignore this clause for the * purposes of estimating with MCV lists, otherwise the operator might @@ -1464,7 +1464,7 @@ statext_is_compatible_clause_internal(PlannerInfo *root, Node *clause, /* * If there are any securityQuals on the RTE from security barrier * views or RLS policies, then the user may not have access to all the - * table's data, and we must check that the operator is leak-proof. + * table's data, and we must check that the operator is leakproof. * * If the operator is leaky, then we must ignore this clause for the * purposes of estimating with MCV lists, otherwise the operator might 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; } diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index fdb1e280711..b34b00aa3ea 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -61,7 +61,7 @@ CATALOG(pg_proc,1255,ProcedureRelationId) BKI_BOOTSTRAP BKI_ROWTYPE_OID(81,Proce /* security definer */ bool prosecdef BKI_DEFAULT(f); - /* is it a leak-proof function? */ + /* is it a leakproof function? */ bool proleakproof BKI_DEFAULT(f); /* strict with respect to NULLs? */ |