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)
Список
Дерево обсуждения
C text to string issue "Sam Stephens" <tangent@inspire.net.nz>
Re: C text to string issue Tom Lane <tgl@sss.pgh.pa.us>
"Sam Stephens" 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 по дате отправления