Re: custom C function problem

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: clustering without locking
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Feature request