From 7b672aeb73da477cf66aad72a5f1dd3ecc52f355 Mon Sep 17 00:00:00 2001 From: Baji Shaik Date: Fri, 22 May 2026 11:47:33 -0500 Subject: [PATCH 1/2] Remove stray word in pg_restore_extended_stats() errhint The errhint message in import_pg_statistic() reads: Value of element "%s" must be type a null or a string. The word "type" is a stray word that doesn't belong; the intent is "must be a null or a string". Reword to: Value of element "%s" must be a null or a string. --- src/backend/statistics/extended_stats_funcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/statistics/extended_stats_funcs.c b/src/backend/statistics/extended_stats_funcs.c index ab748068225..4a65a46df41 100644 --- a/src/backend/statistics/extended_stats_funcs.c +++ b/src/backend/statistics/extended_stats_funcs.c @@ -1160,7 +1160,7 @@ import_pg_statistic(Relation pgsd, JsonbContainer *cont, ereport(WARNING, errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("could not parse \"%s\": invalid element in expression %d", argname, exprnum), - errhint("Value of element \"%s\" must be type a null or a string.", s)); + errhint("Value of element \"%s\" must be a null or a string.", s)); goto pg_statistic_error; } } -- 2.50.1 (Apple Git-155)