Re: How to concat strings so that trailing spaces remain

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: How to concat strings so that trailing spaces remain
Дата
Msg-id
16761.1143745211@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: How to concat strings so that trailing spaces remain "Andrus" <eetasoft@online.ee>
"Andrus"  writes:
> I have where clause where all fields are CHAR(10) type and may have trailing
> spaces.
> ...
> Correct result is produced if || operator does not remove trailing spaces.

If you think that trailing spaces are significant data, you should
probably be using VARCHAR not CHAR datatype.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Don Y
Дата:
Сообщение: User defined data type
От: Martijn van Oosterhout
Дата:
Сообщение: Re: User defined data type
FAQ