Re: BUG #3376: Erro : COMMIT

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: BUG #3376: Erro : COMMIT
Дата
Msg-id 46696BC5.4030305@enterprisedb.com
обсуждение исходный текст
Ответ на BUG #3376: Erro : COMMIT  ("Felipe Nogueira" <fbnogueira@gmail.com>)
Список pgsql-bugs
Please keep the list CC'd so that others can help and learn from the
discussion.

Felipe Nogueira wrote:
> How I commit? I have a function that it will insert into a table, after
> all,
> I have commit.

You commit after calling the function. Like this:

BEGIN;
SELECT data(1,2);
COMMIT;

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #3376: Erro : COMMIT
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #3326: Invalid lower bound of autovacuum_cost_limit