Re: C text to string issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C text to string issue
Дата
Msg-id 13240.1092666865@sss.pgh.pa.us
обсуждение исходный текст
Ответ на C text to string issue  ("Sam Stephens" <tangent@inspire.net.nz>)
Список pgsql-interfaces
"Sam Stephens" <tangent@inspire.net.nz> writes:
> PG_FUNCTION_INFO_V1(f_qpsolve);

> text * f_qpsolve(text *arg)
> {

This function is not written according to the V1 calling convention.
Either rewrite it or remove the INFO_V1 macro.

>     return 0;

You most certainly do not want to return a null "text *" pointer.
        regards, tom lane


В списке pgsql-interfaces по дате отправления: