Re: exclude table from transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: exclude table from transactions
Дата
Msg-id 26628.1259103456@sss.pgh.pa.us
обсуждение исходный текст
Ответ на exclude table from transactions  (Kurt <wazkelzu@gmx.net>)
Список pgsql-general
Kurt <wazkelzu@gmx.net> 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Christophe Pettus
Дата:
Сообщение: Re: exclude table from transactions
Следующее
От: silly8888
Дата:
Сообщение: Re: Partitioning table and dynamic SQL in trigger