Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit95bbe5d

Browse files
committed
Convert some stragglers to new frontend logging API
1 parent1b29e99 commit95bbe5d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2663,8 +2663,8 @@ setup_text_search(void)
26632663
default_text_search_config=find_matching_ts_config(lc_ctype);
26642664
if (!default_text_search_config)
26652665
{
2666-
printf(_("%s:could not find suitable text search configuration for locale \"%s\"\n"),
2667-
progname,lc_ctype);
2666+
pg_log_info("could not find suitable text search configuration for locale \"%s\"",
2667+
lc_ctype);
26682668
default_text_search_config="simple";
26692669
}
26702670
}
@@ -2674,13 +2674,13 @@ setup_text_search(void)
26742674

26752675
if (checkmatch==NULL)
26762676
{
2677-
printf(_("%s: warning:suitable text search configuration for locale \"%s\" is unknown\n"),
2678-
progname,lc_ctype);
2677+
pg_log_warning("suitable text search configuration for locale \"%s\" is unknown",
2678+
lc_ctype);
26792679
}
26802680
elseif (strcmp(checkmatch,default_text_search_config)!=0)
26812681
{
2682-
printf(_("%s: warning:specified text search configuration \"%s\" might not match locale \"%s\"\n"),
2683-
progname,default_text_search_config,lc_ctype);
2682+
pg_log_warning("specified text search configuration \"%s\" might not match locale \"%s\"",
2683+
default_text_search_config,lc_ctype);
26842684
}
26852685
}
26862686

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp