Search Postgresql Archives

Functions and transactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, the documentation 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






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux