Commit 95bbe5d8 authored by Peter Eisentraut's avatar Peter Eisentraut

Convert some stragglers to new frontend logging API

parent 1b29e990
...@@ -2663,8 +2663,8 @@ setup_text_search(void) ...@@ -2663,8 +2663,8 @@ setup_text_search(void)
default_text_search_config = find_matching_ts_config(lc_ctype); default_text_search_config = find_matching_ts_config(lc_ctype);
if (!default_text_search_config) if (!default_text_search_config)
{ {
printf(_("%s: could not find suitable text search configuration for locale \"%s\"\n"), pg_log_info("could not find suitable text search configuration for locale \"%s\"",
progname, lc_ctype); lc_ctype);
default_text_search_config = "simple"; default_text_search_config = "simple";
} }
} }
...@@ -2674,13 +2674,13 @@ setup_text_search(void) ...@@ -2674,13 +2674,13 @@ setup_text_search(void)
if (checkmatch == NULL) if (checkmatch == NULL)
{ {
printf(_("%s: warning: suitable text search configuration for locale \"%s\" is unknown\n"), pg_log_warning("suitable text search configuration for locale \"%s\" is unknown",
progname, lc_ctype); lc_ctype);
} }
else if (strcmp(checkmatch, default_text_search_config) != 0) else if (strcmp(checkmatch, default_text_search_config) != 0)
{ {
printf(_("%s: warning: specified text search configuration \"%s\" might not match locale \"%s\"\n"), pg_log_warning("specified text search configuration \"%s\" might not match locale \"%s\"",
progname, default_text_search_config, lc_ctype); default_text_search_config, lc_ctype);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment