diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-01-23 13:45:32 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-01-23 13:45:32 -0500 |
commit | 46d482814cd4a9c474540a9c4f040ce1cd514f46 (patch) | |
tree | cd148f44f472343d06734f952196a8b962acab1f | |
parent | 70c56a014e1813b5ab0f91581833bc7cb6c02958 (diff) | |
download | postgresql-46d482814cd4a9c474540a9c4f040ce1cd514f46.tar.gz postgresql-46d482814cd4a9c474540a9c4f040ce1cd514f46.zip |
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.
-rw-r--r-- | src/backend/commands/collationcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c index 71b21bf0d20..8d4d5b7b63b 100644 --- a/src/backend/commands/collationcmds.c +++ b/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 */ |