Re: character and text comparison

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: character and text comparison
Дата
Msg-id 4720.1095266591@sss.pgh.pa.us
обсуждение исходный текст
Ответ на character and text comparison  (Jacek Rembisz <jr178783@zodiac.mimuw.edu.pl>)
Ответы Re: character and text comparison  (Jacek Rembisz <jr178783@zodiac.mimuw.edu.pl>)
Список pgsql-bugs
Jacek Rembisz <jr178783@zodiac.mimuw.edu.pl> writes:
> When I run  SELECT ' '::character = ' '::text;
> on PostgreSQL 7.4 the result is `false'
> while on 7.3 and 7.2 instalations result is `true'

> Is this an intentional change?

Yes.

We now strip trailing blanks when converting a char(n) value to text.

            regards, tom lane

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

Предыдущее
От: "Bender, Cheryl"
Дата:
Сообщение: Re: Windows 8.0 beta on Server 2003 Installer problem
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: BUG #1252: Optimization of SELECT for NOT NULL case