From: elias ghanem <e.ghanem@acteos.com>
To: pgsql-performance@postgresql.org
Subject: Is DBLINK transactional
Date: Fri, 12 Mar 2010 17:27:47 +0200
Message-ID: <201003121524.o2CFOD26012586@relay-ext.ornis.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: e.ghanem@acteos.com
Subject: Re: Is DBLINK transactional
In-Reply-To: <201003121524.o2CFOD26012586@relay-ext.ornis.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox