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 по дате отправления
От: Sam Stephens
Дата:
Сообщение: C text to string issue
От: Bruce Momjian
Дата:
FAQ