Commit 46d48281 authored by Peter Eisentraut's avatar Peter Eisentraut

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.
parent 70c56a01
...@@ -339,7 +339,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS) ...@@ -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 */
......
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