define transaction within pg/psql. Necessary?

From: Antonio Goméz Soto <antonio(dot)gomez(dot)soto(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: define transaction within pg/psql. Necessary?
Date: 2010-02-18 10:02:02
Message-ID: 4B7D101A.4070102@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

if I define a pg/pgsql function, and I call that outside a transaction,
does it create one for itself? Or should I add BEGIN and COMMIT statements within
the function?

Thanks,
Antonio.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2010-02-18 10:04:50 Re: Define permissions at database level
Previous Message venkatrao.b 2010-02-18 09:30:23 Re: One solution for Packages in Postgre