Re: [GENERAL] Transaction with in function

2010-05-26 Thread Merlin Moncure
On Wed, May 26, 2010 at 2:52 AM, Ravi Katkar wrote: > How can we achieve nested transactions? ( may be using save points )with in > functions. > Is there any work around? It unfortunately can't be done from within the database. There is only one workaround -- using dblink or similar technology

Re: [GENERAL] Transaction with in function

2010-05-25 Thread Ravi Katkar
: pgsql-general@postgresql.org Subject: Re: [GENERAL] Transaction with in function In response to Ravi Katkar : > > > I looking for solution for commit, rollback with in function. You can't use transactions within functions, use savepoints instead. http://www.postgresql.org/docs/

Re: [GENERAL] Transaction with in function

2010-05-25 Thread A. Kretschmer
In response to Ravi Katkar : > > > I looking for solution for commit, rollback with in function. You can't use transactions within functions, use savepoints instead. http://www.postgresql.org/docs/current/static/sql-savepoint.html Regards, Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035