* remove obsolete patches from postgresql
This commit is contained in:
parent
295107651e
commit
6c06386706
@ -1,17 +0,0 @@
|
||||
Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
|
||||
|
||||
collationcmds.c:467:51: error: use of undeclared identifier 'TRUE'
|
||||
uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
|
||||
^
|
||||
|
||||
--- src/backend/commands/collationcmds.c.orig 2020-09-21 20:47:36 UTC
|
||||
+++ src/backend/commands/collationcmds.c
|
||||
@@ -464,7 +464,7 @@ get_icu_language_tag(const char *localename)
|
||||
UErrorCode status;
|
||||
|
||||
status = U_ZERO_ERROR;
|
||||
- uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
|
||||
+ uloc_toLanguageTag(localename, buf, sizeof(buf), true, &status);
|
||||
if (U_FAILURE(status))
|
||||
ereport(ERROR,
|
||||
(errmsg("could not convert locale name \"%s\" to language tag: %s",
|
Loading…
x
Reference in New Issue
Block a user