Re: [GENERAL] Savepoint and prepared transactions

2010-05-05 Thread Konstantin Izmailov
yep, thank you! On Wed, May 5, 2010 at 5:47 AM, Scott Marlowe wrote: > Should work. I'm not sure 2.5 release savepoint is necessary. > > On Wed, May 5, 2010 at 12:53 AM, Konstantin Izmailov > wrote: > > I expect that only changes on step 2.7 persisted in DB. > > > > On Tue, May 4, 2010 at 11:18

Re: [GENERAL] Savepoint and prepared transactions

2010-05-05 Thread Scott Marlowe
Should work. I'm not sure 2.5 release savepoint is necessary. On Wed, May 5, 2010 at 12:53 AM, Konstantin Izmailov wrote: > I expect that only changes on step 2.7 persisted in DB. > > On Tue, May 4, 2010 at 11:18 PM, Scott Marlowe > wrote: >> >> On Tue, May 4, 2010 at 11:52 PM, Konstantin Izmai

Re: [GENERAL] Savepoint and prepared transactions

2010-05-04 Thread Konstantin Izmailov
I expect that only changes on step 2.7 persisted in DB. On Tue, May 4, 2010 at 11:18 PM, Scott Marlowe wrote: > On Tue, May 4, 2010 at 11:52 PM, Konstantin Izmailov > wrote: > > Hi, > > I'm working on a solution that utilizes 2 phase commit protocol (between > SQL > > Server and PostgreSQL). No

Re: [GENERAL] Savepoint and prepared transactions

2010-05-04 Thread Scott Marlowe
On Tue, May 4, 2010 at 11:52 PM, Konstantin Izmailov wrote: > Hi, > I'm working on a solution that utilizes 2 phase commit protocol (between SQL > Server and PostgreSQL). Normally PostgreSQL statements sequense is: > 1. START > 2. > 3. PREPARE TRANSACTION 'uuid' > 4. COMMIT PREPARED 'uuid' > > Wh

[GENERAL] Savepoint and prepared transactions

2010-05-04 Thread Konstantin Izmailov
Hi, I'm working on a solution that utilizes 2 phase commit protocol (between SQL Server and PostgreSQL). Normally PostgreSQL statements sequense is: 1. START 2. 3. PREPARE TRANSACTION 'uuid' 4. COMMIT PREPARED 'uuid' What if on step 2 user application issues statements with SAVEPOINTs, e.g. 2.1.