Re: [BUGS] BUG #8273: Assertion failure in 9.3 beta2 with serializable and savepoints

2013-07-19 Thread Alvaro Herrera
levert...@googlemail.com wrote: > START TRANSACTION ISOLATION LEVEL SERIALIZABLE; > CREATE TABLE testing( >   x INTEGER PRIMARY KEY > ); > INSERT INTO testing VALUES(1); > SELECT * FROM testing WHERE x = 1 FOR UPDATE; > SAVEPOINT test; > UPDATE testing SET x = 2 WHERE x = 1; > ROLLBACK TO test; >

Re: [BUGS] BUG #8273: Assertion failure in 9.3 beta2 with serializable and savepoints

2013-07-19 Thread Andres Freund
On 2013-07-19 13:46:44 -0400, Alvaro Herrera wrote: > levert...@googlemail.com wrote: > > > START TRANSACTION ISOLATION LEVEL SERIALIZABLE; > > CREATE TABLE testing( > >   x INTEGER PRIMARY KEY > > ); > > INSERT INTO testing VALUES(1); > > SELECT * FROM testing WHERE x = 1 FOR UPDATE; > > SAVEPOIN

Re: [BUGS] BUG #8273: Assertion failure in 9.3 beta2 with serializable and savepoints

2013-07-19 Thread Alvaro Herrera
Andres Freund wrote: > On 2013-07-19 13:46:44 -0400, Alvaro Herrera wrote: > > Sadly, this has performance implications, because what previously was > > just an in-place check of bit flags has now become a function call. > > Well, the impact imo primarily comes from actually resolving the > multi

Re: [BUGS] BUG #8273: Assertion failure in 9.3 beta2 with serializable and savepoints

2013-07-19 Thread Alvaro Herrera
Andres Freund wrote: > On 2013-07-19 13:46:44 -0400, Alvaro Herrera wrote: > > Sadly, this has performance implications, because what previously was > > just an in-place check of bit flags has now become a function call. > > Well, the impact imo primarily comes from actually resolving the > multi