Re: order of row processing affects updates

From: Marius Andreiana <mandreiana(at)rdslink(dot)ro>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: order of row processing affects updates
Date: 2004-09-19 14:11:18
Message-ID: 1095603078.2896.21.camel@marte.biciclete.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 2004-09-19 at 08:37 -0500, Paramveer(dot)Singh(at)trilogy(dot)com wrote:
> table a (id int primary key)
> and a particular instance of it:
> id
> ------------------------
> 5
> 6
>
> now update a set id = id +1;
> fails if the executor processes row with 5 first.
> Basically what we would like to do would be something like doing constraint
> validations only at the end of execution of an update query, instead of
> after every row update.
does it fail even if it's in a
BEGIN
UPDATE ..
COMMIT
?

--
Marius Andreiana
Galuna - Solutii Linux in Romania
http://www.galuna.ro

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Soeren Gerlach 2004-09-19 14:17:52 Problem in converting int to timestamp value - why?
Previous Message Paramveer.Singh 2004-09-19 13:37:10 order of row processing affects updates