Re: varchar or text

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: varchar or text
Дата
Msg-id 20080429130113.GB3146@svana.org
обсуждение исходный текст
Ответ на Re: varchar or text  (Pascal Cohen <pcohen@wimba.com>)
Список pgsql-general
On Tue, Apr 29, 2008 at 09:36:31AM +0200, Pascal Cohen wrote:
> I am with 8.3.1 release but I mentioned that this appears with spaces at
> then end not with standard chars. Of course your examples are working
> fine but insert something like 'abc        ' (with several spaces and it
> will work but just ignore the spaces above the 5th char.

Yeah, the SQL standard has some "interesting" features regarding
char/varchar and trailing spaces. Text doesn't treat spaces specially
at all...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Вложения

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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Multibyte (Japanese Character) Sorting
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: String Comparison and NULL