Re: BUG #1783: A function using char variables does not behave the same way between 7.4 and 8.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1783: A function using char variables does not behave the same way between 7.4 and 8.0
Дата
Msg-id 21590.1122226372@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1783: A function using char variables does not behave the same way between 7.4 and 8.0  ("Laurent HERVE" <laurent-herve@club-internet.fr>)
Список pgsql-bugs
"Laurent HERVE" <laurent-herve@club-internet.fr> writes:
> I am upgrading a 7.4 database to PostgreSQL 8.0.
> During my tests, I found that the results of a function weren't like I
> expected to.
> I am using a 8.0.1 but I didn't find anything related to that problem on the
> release note for later versions.

This is intentional --- trailing spaces in char(N) data are now
considered insignificant in more contexts than before, including
concatenation.

            regards, tom lane

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

Предыдущее
От: "Laurent HERVE"
Дата:
Сообщение: BUG #1783: A function using char variables does not behave the same way between 7.4 and 8.0
Следующее
От: "K.G.Sivaraman"
Дата:
Сообщение: BUG #1785: Return code !!!