| От | Matthias Teege |
|---|---|
| Тема | Re: Why isn't that null |
| Дата | |
| Msg-id | 87zoo7jkiy.fsf@moon.mteege.de обсуждение исходный текст |
| Ответ на | Why isn't that null (Matthias Teege <matthias@mteege.de>) |
| Список | pgsql-general |
Tom Lane <tgl@sss.pgh.pa.us> writes: [...] > > If I change the function statement as follows: > > > IF NEW.vkp = 0 THEN > > ... > > END IF; > > > it works > > Shouldn't that give a type error of some sort? You didn't say > what type vkp is, but if it's a string type then comparing it > against a numeric shouldn't work IMHO. no it isn't. It is a float8 type. I changed my program in that way that the query includes NULL instead of ''. Bis dann Matthias -- Matthias Teege -- matthias@mteege.de -- http://emugs.de make world not war PGP-Key auf Anfrage
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера