Re: Problem with aborting entire transactions on error

From: Zbigniew <zbigniew2011(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with aborting entire transactions on error
Date: 2012-12-11 11:57:09
Message-ID: CALT7RM9SHHFBpSUCVWtZR8uezLMCzDTcLv2CYZA-7SF+UNikQA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2012/12/11, Abel Abraham Camarillo Ojeda <acamari(at)the00z(dot)org>:

> It's faster than restarting the big transaction, maybe...

Of course, but it's still _much_ slower, than conducting such
transaction without any abort.

Actually, I had to implement savepoint-based solution anyway - but at
a cost of making the relevant part of code much more complex. Pay
attention, that actually every developer in this thread wrote, that
adding such complexity isn't a particularly good idea.
--
regards,
Zbigniew

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zbigniew 2012-12-11 12:05:03 Re: Problem with aborting entire transactions on error
Previous Message Abel Abraham Camarillo Ojeda 2012-12-11 11:50:40 Re: Problem with aborting entire transactions on error