Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 1, 2008 at 7:56 PM, carty mc <cartymc3@xxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux