Kurt <wazkelzu@xxxxxxx> 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 boundaries, and send commands to that session to insert messages into your log table. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general