Can I make a function an explicit transaction within? - Mailing list pgsql-novice

From Ivicz László
Subject Can I make a function an explicit transaction within?
Date
Msg-id D80018A763D4434C9A10E1C76FA6856F1FE155@foxserver.foxart.hu
Whole thread Raw
Responses Re: Can I make a function an explicit transaction within?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-novice
Hi,
I have tried in 7.3 to make a PL/pgSQL function with an explicit Begin
Transaction; Rollback; and Commit;.
The editor allowed to save it (pgAdmin II), but each of the above
commands caused a
runtime error in any variation.
My question is: Can I make a function with explicit transaction in any
procedural language (mainly in PL/pgSQL)?
Thanks,
Laci


pgsql-novice by date:

Previous
From:
Date:
Subject: Re: [BUGS] Psql 'Expanded display (\x)' behaviour
Next
From: "Benjamin RICHARD"
Date:
Subject: Using array in Functions plpgsql