Re: [HACKERS] crash in DROP INDEX CONCURRENTLY

2012-11-07 Thread Alvaro Herrera
Andres Freund wrote: > On Wed, Nov 07, 2012 at 12:54:57PM -0300, Alvaro Herrera wrote: > > I think the fix is just to move the heap_open calls some lines upwards, as > > in > > the attached patch. > Looks like the right thing to me. Pushed. -- Álvaro Herrerahttp://www.2ndQuadr

Re: [HACKERS] crash in DROP INDEX CONCURRENTLY

2012-11-07 Thread Andres Freund
On Wed, Nov 07, 2012 at 12:54:57PM -0300, Alvaro Herrera wrote: > I just observed that if I run src/test/regress' "make > installcheck-parallel" and concurrently src/test/isolation's "make > installcheck", I very reproducibly get a segfault (in an assert-enabled > build). Apparently the problem is

[HACKERS] crash in DROP INDEX CONCURRENTLY

2012-11-07 Thread Alvaro Herrera
I just observed that if I run src/test/regress' "make installcheck-parallel" and concurrently src/test/isolation's "make installcheck", I very reproducibly get a segfault (in an assert-enabled build). Apparently the problem is that somebody is trying to transfer predicate locks to a relation, but