Is DBLINK transactional

From: "elias ghanem" <e(dot)ghanem(at)acteos(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Is DBLINK transactional
Date: 2010-03-12 15:27:47
Message-ID: 201003121524.o2CFOD26012586@relay-ext.ornis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi,

I am using dblink to read data from a remote data base, insert these data in
the local database, update the red data in the remote database then continue
to do some other work on the local database in the same transaction.

My question is : Is db link transactional; If the local transaction failed,
would the update in the remote data base roll back or if the update in the
remote data base failed, would the insert in the local data base roll back.

If not, is there a way to make db link "transactional"?

Thanks

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Merlin Moncure 2010-03-12 17:07:06 Re: Is DBLINK transactional
Previous Message Ognjen Blagojevic 2010-03-12 09:54:27 [offtopic] Problems subscribing to Postgres mailing lists