| От | Barry Lind |
|---|---|
| Тема | bug? in current cvs with bigint datatype |
| Дата | |
| Msg-id | 3CDCB419.70308@xythos.com обсуждение исходный текст |
| Ответы |
Re: bug? in current cvs with bigint datatype
|
| Список | pgsql-hackers |
I just did a fresh build from current cvs and found the following regression from 7.2: create table test (cola bigint); update test set cola = 10000000000; In 7.3 the update results in the following error: ERROR: column "cola" is of type 'bigint' but expression is of type 'double precision'You will need to rewrite or cast the expression In 7.2 the update worked. (updated 0 rows in this case) It is interesting to note that if I use 'cola = 10000000000' in a where clause instead of as an assignment (i.e. select * from test where cola = 10000000000) this works in both 7.3 and 7.2. thanks, --Barry
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера