Re: Embedded SQL in a function

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Embedded SQL in a function
Дата
Msg-id 20020716085231.GA3352@feivel.credativ.de
обсуждение исходный текст
Ответ на Embedded SQL in a function  (Nikolay Hristov <charlie@mail.vega.bg>)
Список pgsql-general
On Mon, Jul 15, 2002 at 07:28:19PM +0300, Nikolay Hristov wrote:
> Is it possible to use embedded SQL in C function.

You mean an internal function?

I'm sorry, that won't work as embedded SQl internally uses libpq to
talk to the backend. When you're inside the backend you would need to
use the SPI interface instead. I always wanted to add that to ecpg but
never found the time.

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Holger Klawitter
Дата:
Сообщение: Re: JOIN and LIKE
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: Pushing PostgreSQL to the Limit (urgent!)