Are functions automatically transactioned? - Mailing list pgsql-general

From Ciprian Popovici
Subject Are functions automatically transactioned?
Date
Msg-id 20040408004330.0f87cb98@xxx
Whole thread Raw
Responses Re: Are functions automatically transactioned?
List pgsql-general
I need to perform a couple of queries in a function and I need them to be in
the same transaction. I understand I can't start and stop transactions from
inside the functions. But are the contents of a function placed in a
transaction automatically by the server, or do I have to "manually" control
the transaction around the call to the function?

--
Ciprian Popovici

pgsql-general by date:

Previous
From: Randall Skelton
Date:
Subject: Moving from narrow to wide tables
Next
From: Jerry LeVan
Date:
Subject: MacOS X, Postgresql and Aqua Tcl/Tk