pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Tap <ptrtap@yahoo.com>
To: Maciek Sakrejda <msakrejda@truviso.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Transactional support across multiple machines...
Date: Wed, 17 Nov 2010 10:55:21 -0800 (PST)
Message-ID: <958934.2354.qm@web62307.mail.re1.yahoo.com> (raw)
In-Reply-To: <AANLkTimH7iy7z5C9N+39ThQeLGx87oWZeAyFYjPG3v_X@mail.gmail.com>
References: <751378.43371.qm@web62302.mail.re1.yahoo.com>
	<AANLkTimH7iy7z5C9N+39ThQeLGx87oWZeAyFYjPG3v_X@mail.gmail.com>

Hi Maciek,

Thank you for your help.

I looked at the link you provided me. However, I am still confused. I have three 
different connections to three different databases. If I call 
PREPARE_TRANSACTION and COMMIT_PREPARED on each machine, it may still not be 
atomic. 


I would think one would need some kind of distributed transaction coordinator 
such as Java Transactional API (JTA).

I appreciate your help.

Regards,
Peter





________________________________
From: Maciek Sakrejda <msakrejda@truviso.com>
To: Peter Tap <ptrtap@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Sent: Wed, November 17, 2010 10:40:57 AM
Subject: Re: [JDBC] Transactional support across multiple machines...

Prepared transactions:
http://www.postgresql.org/docs/9.0/static/sql-prepare-transaction.html
---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com



      

view thread (5+ messages)  latest in thread

Message-ID: <958934.2354.qm@web62307.mail.re1.yahoo.com>
Permalink:  ../958934.2354.qm@web62307.mail.re1.yahoo.com/
Also on:    postgresql.org/message-id/958934.2354.qm@web62307.mail.re1.yahoo.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ptrtap@yahoo.com, msakrejda@truviso.com
  Subject: Re: Transactional support across multiple machines...
  In-Reply-To: <958934.2354.qm@web62307.mail.re1.yahoo.com>
  References: <751378.43371.qm@web62302.mail.re1.yahoo.com> <AANLkTimH7iy7z5C9N+39ThQeLGx87oWZeAyFYjPG3v_X@mail.gmail.com> <958934.2354.qm@web62307.mail.re1.yahoo.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