Re: Nested transaction workaround?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Nested transaction workaround?
Дата
Msg-id 11657.1074009035@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Nested transaction workaround?  ("John Sidney-Woollett" <johnsw@wardbrook.com>)
Ответы Re: Nested transaction workaround?  ("John Sidney-Woollett" <johnsw@wardbrook.com>)
Список pgsql-general
"John Sidney-Woollett" <johnsw@wardbrook.com> writes:
> Is it possible to use the dblink and dblink_exec features from inside
> pl/pgsql functions to mimic the behaviour of nested transactions by
> calling another function or executing some SQL via the dblink (into the
> same database)?

I wouldn't call it "nested" transactions: the remote transactions would
be committed, and would stay committed even if you roll back the caller.

            regards, tom lane

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

Предыдущее
От: Phil Campaigne
Дата:
Сообщение: Best Practice for incremental development
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Drawbacks of using BYTEA for PK?