define transaction within pg/psql. Necessary? - Mailing list pgsql-general

From Antonio Goméz Soto
Subject define transaction within pg/psql. Necessary?
Date
Msg-id 4B7D101A.4070102@gmail.com
Whole thread Raw
Responses Re: define transaction within pg/psql. Necessary?  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Re: define transaction within pg/psql. Necessary?  (Richard Huxton <dev@archonet.com>)
List 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.

pgsql-general by date:

Previous
From: venkatrao.b@tcs.com
Date:
Subject: Re: One solution for Packages in Postgre
Next
From: Richard Huxton
Date:
Subject: Re: Define permissions at database level