Re: CHAR(n) always trims trailing spaces in 7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CHAR(n) always trims trailing spaces in 7.4
Дата
Msg-id 20170.1077076397@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CHAR(n) always trims trailing spaces in 7.4  (elein <elein@varlena.com>)
Ответы Re: CHAR(n) always trims trailing spaces in 7.4  (elein <elein@varlena.com>)
Список pgsql-sql
elein <elein@varlena.com> writes:
> Apparently the ::char is cast to varchar and then text?

No, directly to text, because the || operator is defined as taking text
inputs.  But there's no practical difference between text and varchar on
this point.
        regards, tom lane


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

Предыдущее
От: elein
Дата:
Сообщение: Re: CHAR(n) always trims trailing spaces in 7.4
Следующее
От: "David Witham"
Дата:
Сообщение: Indexes and statistics