Re: [GENERAL] Shared Objects (Dynamic loading)

Поиск
Список
Период
Сортировка
Искать
От
Michael Fuhr
Тема
Re: [GENERAL] Shared Objects (Dynamic loading)
Дата
Msg-id
20060824121906.GA94438@winnie.fuhr.org
Ответ на
Список
Дерево обсуждения
Shared Objects (Dynamic loading) "Jasbinder Bali" <jsbali@gmail.com>
On Thu, Aug 24, 2006 at 03:51:28AM -0400, Jasbinder Bali wrote:
> Actually my function accepts char, so what should be the SQL analogue for
> that in postgres?

You might be able to declare the SQL function to accept a cstring
argument but you really should write the code to conform to
PostgreSQL's preferred (version-1) calling conventions.  That might
mean writing simple wrapper function that calls the real function.

If you're doing text manipulation then it would probably be a lot
easier in PL/Perl than in C.

-- 
Michael Fuhr
В списке pgsql-novice по дате отправления
От: Michael Fuhr
Дата:
От: Jasbinder Bali
Дата:
FAQ