pub(super) const SAFE_PURE_FUNCTIONS: &[&str] = &[
"coalesce",
"nullif",
"lower",
"upper",
"btrim",
"ltrim",
"rtrim",
"trim",
"substr",
"substring",
"left",
"right",
"length",
"char_length",
"character_length",
"octet_length",
"replace",
"split_part",
"abs",
"ceil",
"ceiling",
"floor",
"round",
"trunc",
"greatest",
"least",
"date_trunc",
"extract",
"date_part",
"md5",
"sha256",
"encode",
"decode",
"jsonb_extract_path",
"jsonb_extract_path_text",
"json_extract_path",
"json_extract_path_text",
];
pub(super) const AGGREGATE_NAMES: &[&str] = &[
"any_value",
"array_agg",
"avg",
"bit_and",
"bit_or",
"bit_xor",
"bool_and",
"bool_or",
"corr",
"count",
"covar_pop",
"covar_samp",
"cume_dist",
"dense_rank",
"every",
"json_agg",
"json_agg_strict",
"json_object_agg",
"json_object_agg_strict",
"json_object_agg_unique",
"json_object_agg_unique_strict",
"jsonb_agg",
"jsonb_agg_strict",
"jsonb_object_agg",
"jsonb_object_agg_strict",
"jsonb_object_agg_unique",
"jsonb_object_agg_unique_strict",
"max",
"min",
"mode",
"percent_rank",
"percentile_cont",
"percentile_disc",
"range_agg",
"range_intersect_agg",
"rank",
"regr_avgx",
"regr_avgy",
"regr_count",
"regr_intercept",
"regr_r2",
"regr_slope",
"regr_sxx",
"regr_sxy",
"regr_syy",
"stddev",
"stddev_pop",
"stddev_samp",
"string_agg",
"sum",
"var_pop",
"var_samp",
"variance",
"xmlagg",
];