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.
pull/20/head
Peter Eisentraut 9 years ago
parent 70c56a014e
commit 46d482814c
  1. 2
      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 */

Loading…
Cancel
Save