Re: [HACKERS] function question yet again

Поиск
Список
Период
Сортировка
От Sevo Stille
Тема Re: [HACKERS] function question yet again
Дата
Msg-id 38A95F61.701B458C@ip23.net
обсуждение исходный текст
Ответ на function question yet again  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: [HACKERS] function question yet again  (Michael Meskes <meskes@postgreSQL.org>)
Список pgsql-hackers
Michael Meskes wrote:
> 
> Is it possible to define a function in language 'C' that needs more
> libraries to work? I've got a small example of a function that works like a
> charm when run against from a binary. However if I put this function inside
> the server and execute it I get
> 
> ERROR:  parser: parse error at or near ""
> 
> Not exactly an error message that explains itself. :-)

Actually, it is very suggestive of quoting or escaping errors.
Presumably your statement terminates somewhere where you would not
expect it. 
> I have put my function into a shared library to load it, but the library
> itself needs other libraries. Is this at all possible?

If the system knows how to find it, absolutely. That is, whatever you
depend on will have to be in a system or pgsql library directory.  

Sevo


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] function defined in libpq?
Следующее
От: "Jeff MacDonald "
Дата:
Сообщение: Most Advanced