Re: [GENERAL] Shared Objects (Dynamic loading)

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: [GENERAL] Shared Objects (Dynamic loading)
Дата
Msg-id 20060824121906.GA94438@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: [GENERAL] Shared Objects (Dynamic loading)  ("Jasbinder Bali" <jsbali@gmail.com>)
Список pgsql-novice
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
Дата:
Сообщение: Re: [GENERAL] Shared Objects (Dynamic loading)
Следующее
От: "Jasbinder Bali"
Дата:
Сообщение: Dynamic loading (datatype mismatch)