| От | Tom Lane |
|---|---|
| Тема | Re: custom C function problem |
| Дата | |
| Msg-id | 19934.1209844006@sss.pgh.pa.us обсуждение |
| Ответ на | Re: custom C function problem ("Dan \"Heron\" Myers" <heron@xnapid.com>) |
| Ответы |
Re: custom C function problem
|
| Список | pgsql-general |
"Dan \"Heron\" Myers" <heron@xnapid.com> writes:
> One case that fails is essentially copied from the V1 section in the
> documentation:
Well, there's nothing wrong with that C code, so the problem is
someplace else.
Did you remember to declare the function STRICT? If not, and if
there are any nulls in your test table, a crash would be expected;
there's nothing in this function that's guarding against a null
pointer dereference.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера