Re: Problem commit in function

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Problem commit in function
Дата
Msg-id 47FA2366.8010902@postnewspapers.com.au
обсуждение исходный текст
Ответ на Problem commit in function  ("luke\.78\@libero\.it" <luke.78@libero.it>)
Список pgsql-sql
luke.78@libero.it wrote:
> Hi,
> I need to execute COMMIT in a function pgsql,
> there is a way?
>   
A function runs in a transaction. It cannot, as far as I know, commit one.

Why do you need to do that, anyway? What're you trying to achieve?

--
Craig Ringer


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

Предыдущее
От: Gerardo Herzig
Дата:
Сообщение: Re: how to returns set of records in PL/python
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Commit every processed record