Re: UPPER() Function Not Working as Expected in PostgreSQL 12.5 Version

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: UPPER() Function Not Working as Expected in PostgreSQL 12.5 Version
Дата
Msg-id 1975904.1625762985@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: UPPER() Function Not Working as Expected in PostgreSQL 12.5 Version  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-sql
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Thu, Jul 8, 2021 at 2:26 AM Saraswat, Dhruv <
> dhruv.saraswat@thermofisher.com> wrote:
>> We have a table in which 1 of the columns is called ‘name’ with a datatype
>> of ‘name’. This column stores username values, for example ==>
>> dhruv.saraswat@thermofisher.com

> I unfortunately don't know the answer to your primary query but you are
> definitely misusing the "name" datatype.

Indeed.  I suspect that this was done as some sort of substitute for
declaring the column with collation "C", and the reason it's acting
differently in v12 is related to the fact that name columns are no
longer forced to behave as though they have collation "C".  We don't
have enough details to be sure of that though.

            regards, tom lane



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: UPPER() Function Not Working as Expected in PostgreSQL 12.5 Version
Следующее
От: Prajakta Chinchole
Дата:
Сообщение: Support for PostgreSQL stored procedure through ITX.