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.
This commit is contained in:
Peter Eisentraut 2017-01-23 13:45:32 -05:00
parent 70c56a014e
commit 46d482814c

View File

@ -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 */