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:
parent
70c56a014e
commit
46d482814c
@ -339,7 +339,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
ereport(ERROR,
|
ereport(WARNING,
|
||||||
(errmsg("no usable system locales were found")));
|
(errmsg("no usable system locales were found")));
|
||||||
#endif /* not HAVE_LOCALE_T && not WIN32 */
|
#endif /* not HAVE_LOCALE_T && not WIN32 */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user