projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c56a0
)
Don't error when no system locales were found
author
Peter Eisentraut
<peter_e@gmx.net>
Mon, 23 Jan 2017 18:45:32 +0000
(13:45 -0500)
committer
Peter Eisentraut
<peter_e@gmx.net>
Mon, 23 Jan 2017 18:45:32 +0000
(13:45 -0500)
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.
src/backend/commands/collationcmds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/collationcmds.c
b/src/backend/commands/collationcmds.c
index 71b21bf0d209de8c71e9d1a482735ed3d1edc6e6..8d4d5b7b63bb2c56cce41f6d27d07ba402097ea9 100644
(file)
--- 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 */