Re: [GENERAL] exclude table from transactions

2009-11-24 Thread Tom Lane
Kurt writes: > I'd like to ask, whether there is a way to exclude a table from the > regular transaction rollback. No. > I want to log all exceptions caused by my plpgsql-functions in a certain > log-table. You could use dblink to connect to another session that has its own transaction boundari

Re: [GENERAL] exclude table from transactions

2009-11-24 Thread Christophe Pettus
On Nov 24, 2009, at 7:25 AM, Kurt wrote: I'd like to ask, whether there is a way to exclude a table from the regular transaction rollback. Nope, there is not. The only solution I came up with till now, is to put the log data into the exception's error message, parse the pgsql-logging-file in

[GENERAL] exclude table from transactions

2009-11-24 Thread Kurt
Dear list, I'd like to ask, whether there is a way to exclude a table from the regular transaction rollback. Background: I want to log all exceptions caused by my plpgsql-functions in a certain log-table. To do this, instead of raising an exception directly, i call a function that writes a record