Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Functions and t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15212 of 17602
Post > Topic >>

Functions and transactions

by giorgio_v@[EMAIL PROTECTED] (Giorgio Valoti) Apr 8, 2008 at 03:44 PM

Hi all, the do***entation says that functions are always executed  
within the transaction established by the outer query. However, I was  
quite surprised (in a positive way, that is) seeing that if a  
function call causes some error, the whole function is "rolled back".  
Is this the expected behavior?

Thank you
--
Giorgio Valoti





-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 2 Posts in Topic:
Functions and transactions
giorgio_v@[EMAIL PROTECTE  2008-04-08 15:44:47 
Re: Functions and transactions
kleptog@[EMAIL PROTECTED]  2008-04-08 15:53:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 18:42:33 CST 2008.