calling plpgsql from c

Поиск
Список
Период
Сортировка
От Max Jacob
Тема calling plpgsql from c
Дата
Msg-id 3FB6B190.8040409@ircam.fr
обсуждение исходный текст
Ответы Re: calling plpgsql from c
Список pgsql-hackers
Hallo,

I'm trying to call plpgsql functions from c functions directly through 
the Oid, but i have a problem: it seems that the plpgsql interpreter 
calls SPI_connect and fails even if the caller has already 
spi-connected. I am working on recursive functions in c and so i can not 
call SPI_finish by myself before calling the plpgsql function since i 
would loose tons of stuff (or am i missing something?). Now, is there a 
way to work around this? If not: wouldn't it be meaningful to change 
this behavior?

thank you

max.




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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Sponsoring enterprise features
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Is there going to be a port to Solaris 9 x86 in the