Skip to content

Commit 46d4828

Browse files
committed
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.
1 parent 70c56a0 commit 46d4828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/collationcmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS)
339339
}
340340

341341
if (count == 0)
342-
ereport(ERROR,
342+
ereport(WARNING,
343343
(errmsg("no usable system locales were found")));
344344
#endif /* not HAVE_LOCALE_T && not WIN32 */
345345

0 commit comments

Comments
 (0)