| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Another nasty cache problem |
| Дата | |
| Msg-id | 19021.950544016@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Another nasty cache problem (Patrick Welche <prlw1@newn.cam.ac.uk>) |
| Ответы |
Re: [HACKERS] Another nasty cache problem
|
| Список | pgsql-hackers |
Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> + if (!string)
> + elog(ERROR, "Trying to convert NULL text to integer (int2)");
This is unreasonable behavior. The correct patch is just
if (!string) return 0;
which will allow the function manager to plow ahead with returning the
NULL that it's going to return anyway. See the past pghackers threads
about redesigning the function manager interface if you don't understand
what's going on here.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера