Re: dblink ,dblink_exec not participating in a Transaction??

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: dblink ,dblink_exec not participating in a Transaction??
Дата
Msg-id 5ded07e00804011910g5a86ec22jcfc1b77035102437@mail.gmail.com
обсуждение исходный текст
Ответ на Re: dblink ,dblink_exec not participating in a Transaction??  (carty mc <cartymc3@yahoo.com>)
Список pgsql-general
On Tue, Apr 1, 2008 at 7:56 PM, carty mc <cartymc3@yahoo.com> wrote:

> In this case the updates that were made using dblink_exec are not getting
> rolled back in Database B.

And they won't be.  dblink isn't transactional in that way.  Your best
bet is to put all the data into one database and use schemas to
separate the table namespaces and control user acccess.

Failing that, changing the application to update both databases itself
and using 2PC might be an option.

-Doug

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

Предыдущее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Primary Key with serial the solution?