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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to