From: Peter Eisentraut Date: Mon, 23 Jan 2017 18:45:32 +0000 (-0500) Subject: Don't error when no system locales were found X-Git-Tag: REL_10_BETA1~1040 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46d482814cd4a9c474540a9c4f040ce1cd514f46;p=postgresql Don't error when no system locales were found initdb used to warn about that, but it was changed to an error in pg_import_system_locales, but some build farm members failed because of that. Change it back to a warning. --- diff --git a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c index 71b21bf0d2..8d4d5b7b63 100644 --- a/src/backend/commands/collationcmds.c +++ b/src/backend/commands/collationcmds.c @@ -339,7 +339,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS) } if (count == 0) - ereport(ERROR, + ereport(WARNING, (errmsg("no usable system locales were found"))); #endif /* not HAVE_LOCALE_T && not WIN32 */