Re: GUC names in messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GUC names in messages
Дата
Msg-id 3740026.1701050836@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GUC names in messages  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> Is there a reason why we don't just use islower() or is that just to
> get something entirely local independent?

islower() and related functions are not to be trusted for this
purpose.  They will certainly give locale-dependent results,
and they might give entirely wrong ones if there's any inconsistency
between the database encoding and what libc thinks the locale is.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: GUC names in messages
Следующее
От: Peter Smith
Дата:
Сообщение: Re: GUC names in messages