| От | Yudie |
|---|---|
| Тема | Re: query configuration for validate empty quote to zero |
| Дата | |
| Msg-id | 008101c4fccc$16d8a040$a101a8c0@home.axiontech.com обсуждение |
| Ответ на | query configuration for validate empty quote to zero ("Yudie" <yudie@axiontech.com>) |
| Список | pgsql-sql |
The problem is not stop there, I had a table that can't be updated since then with this simply command: update prdttable set webinclude = '0' where prdtnumber = '6002' Again, the errors (invalid input syntax for integer: "") apears. Then I found this temporary solution to make replica to this record to another table in sense of update the value in the new table. 1. Create table prdt_problem as select * form prdttable where prdtnumber = '6002'; 2. Update prdt_problem set webinclude = '0' where prdtnumber = '6002'; 3. Delete from prdttable where prdtnumber = '6002'; 4. Insert into prdttable select * from prdt_problem How to fix this bug? > None. That's an intentional change. The fact that it ever accepted > '' as meaning 0 was a bug. > > regards, tom lane >
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера