mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Remove useless unconstify
Digging into the history, this was not necessary even when it was added, but might have been some time before that. In any case, there is no use for this now.
This commit is contained in:
@ -2621,7 +2621,7 @@ seq_search_localized(const char *name, char **array, int *len, Oid collid)
|
||||
* Fold to upper case, then to lower case, so that we can match reliably
|
||||
* even in languages in which case conversions are not injective.
|
||||
*/
|
||||
upper_name = str_toupper(unconstify(char *, name), strlen(name), collid);
|
||||
upper_name = str_toupper(name, strlen(name), collid);
|
||||
lower_name = str_tolower(upper_name, strlen(upper_name), collid);
|
||||
pfree(upper_name);
|
||||
|
||||
|
Reference in New Issue
Block a user