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
обсуждение исходный текст
Ответ на How to concat strings so that trailing spaces remain  ("Andrus" <eetasoft@online.ee>)
Список pgsql-general
"Andrus" <eetasoft@online.ee> 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