On Mon, Nov 8, 2010 at 5:39 PM, Andre Lopes <lopes80andre@xxxxxxxxx> wrote: > Hi, > > Thanks for the reply. > > I have write the transaction, but I have some doubt's... If in this example > the Update is executed successfully and the Function it is not, what > happens? The Update automatically rolls back? Yes, transactions (without savepoints) are all or nothing. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general