| От | Doug Quale |
|---|---|
| Тема | Re: [pgsql-advocacy] Oracle buys Innobase |
| Дата | |
| Msg-id | 87mzl5z2s8.fsf@charter.net обсуждение исходный текст |
| Ответ на | Re: [pgsql-advocacy] Oracle buys Innobase ("Marc G. Fournier" <scrappy@postgresql.org>) |
| Список | pgsql-general |
"Marc G. Fournier" <scrappy@postgresql.org> writes: > On Wed, 19 Oct 2005, Richard_D_Levine@raytheon.com wrote: > >> I was referring to trailing blanks, but did not explicitly say it, >> though showed it in the examples. I am pretty sure that the SQL >> standard says that trailing whitespace is insignificant in string >> comparison. > > Then we are broken too :) > > # select 'a ' = 'a '; > ?column? > ---------- > f > (1 row) # select 'a'::char(8) = 'a '::char(8); ?column? ---------- t (1 row) Trailing blanks aren't significant in fixed-length strings, so the question is whether Postgresql treats comparison of varchars right.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера