Re: [HACKERS] Reg: Question about concurrency/locking

2008-02-03 Thread Tom Lane
[EMAIL PROTECTED] writes: > There will be one block/page/buffer allocated for table t1 and the > values are inserted to that block. When a commit is issued after > insert, the data is guranteed to be written to the datafile on the > disk. Now when the couple of updates are done from 2 sessions o

[HACKERS] Reg: Question about concurrency/locking

2008-02-03 Thread rkalyankumar
Hi, I have a doubt referring to following scenario: create table t1 (id integer primary key,desc varchar(10)); I insert 4 values as below: id val --- 1 one 2 two 3 three 4