Re: [GENERAL] order of row processing affects updates

2004-09-20 Thread Paramveer . Singh
Stark <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 19/09/2004 10:33 PM                 To:        [EMAIL PROTECTED]         cc:                 Subject:        Re: [GENERAL] order of row processing affects updates [EMAIL PROTECTED] writes: > Hi all! > consider the following tabl

Re: [GENERAL] order of row processing affects updates

2004-09-19 Thread Greg Stark
[EMAIL PROTECTED] writes: > Hi all! > consider the following table > > 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. Well the correct

Re: [GENERAL] order of row processing affects updates

2004-09-19 Thread Jim J
On Sun, 19 Sep 2004 08:37:10 -0500, Paramveer.Singh wrote: > Hi all! > consider the following table > > 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

Re: [GENERAL] order of row processing affects updates

2004-09-19 Thread Marius Andreiana
On Sun, 2004-09-19 at 08:37 -0500, [EMAIL PROTECTED] 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 lik

[GENERAL] order of row processing affects updates

2004-09-19 Thread Paramveer . Singh
Hi all! consider the following table 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. This means that the query will succeed sometimes and fail at other ti