Re: C vs plpgsql and child processes

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: C vs plpgsql and child processes
Дата
Msg-id 20030817184810.GB88411@perrin.int.nxad.com
обсуждение исходный текст
Ответ на C vs plpgsql and child processes  (Jason Godden <jasongodden@optushome.com.au>)
Ответы Re: C vs plpgsql and child processes  (Jason Godden <jasongodden@optushome.com.au>)
Список pgsql-general
> Problem is that when I call these particular functions from within
> plpgsql rather than through a single sql command the child never
> actually starts (or starts and then exits immediately).

Are you sure?  I can't think of much that'd prevent a C function from
executing other than how you've declared the function (ie, is PgSQL
caching the results of the function?).  Make sure you've declared it
as VOLATILE (or don't declare it anything and it'll default to
VOLATILE).

http://developer.postgresql.org/docs/postgres/sql-createfunction.html

-sc

--
Sean Chittenden

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: Need feedback on new feature (\for)
Следующее
От: "James Moe"
Дата:
Сообщение: Too many clients