Re: BUG #3376: Erro : COMMIT - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: BUG #3376: Erro : COMMIT
Date
Msg-id 46696BC5.4030305@enterprisedb.com
Whole thread Raw
In response to BUG #3376: Erro : COMMIT  ("Felipe Nogueira" <fbnogueira@gmail.com>)
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #3376: Erro : COMMIT
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #3326: Invalid lower bound of autovacuum_cost_limit