Re: [HACKERS] SELECT BUG

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема Re: [HACKERS] SELECT BUG
Дата
Msg-id 37CF7530.D63817CB@telecom.at
обсуждение исходный текст
Список pgsql-hackers
> This inconsistency bothers me: I've always thought that char(),
> varchar(), and text() are functionally interchangeable, but it seems
> that's not so.  Is this behavior mandated by SQL92?

Yes, the behavior is correct, and mandated by SQL92. 
A char would not be able to hold the information of how many trailing blanks
are user data, since it fills the column with trailing blanks.

Andreas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] SELECT BUG
Следующее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [HACKERS] Postgres' lexer