| От | Pieter-Jan Savat |
|---|---|
| Тема | Relational operators |
| Дата | |
| Msg-id | 42BFD73B.8030109@barclab.com обсуждение исходный текст |
| Ответы |
Re: Relational operators
|
| Список | pgsql-bugs |
Hi, I was wondering if the following issue is in fact a bug, or just inconvenient behaviour... say a table looks like this: table --- c (varchar) '20' '0' '-10' 'klj' '> 5' 'qwerty' '< 6' The query select * from table where c < 5 will return for instance the tuple containing '20'. In other words, postgresql 8.0 will not automatically cast the results to a numeric value and only take into account those tuples that can be cast (not 'klj' nor 'qwerty') ... unlike some other databases .... Any (standard) solutions to this problem? -greetz, pj
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера