Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END
Date: 2007-05-30 20:18:03
Message-ID: 18290.1180556283@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl> writes:
>>> Ok, so for patch-sake, when I change BeginInternalSubTransaction() in
>>> xact.c by moving these two cases to the upper set
>>> (TBLOCK_STARTED/INPROGRESS/SUBINPROGRESS), then I should be ok?

>> Try it and see ...

> Been there, done that, seems to work (both the example as well as my usecase).

Great, thanks for testing. Will push the fix into CVS.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pedro Gimeno Fortea 2007-05-30 21:30:50 Re: BUG #3319: Superuser can't revoke grants on a schema given by aother user
Previous Message Frank van Vugt 2007-05-30 19:46:16 Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END