Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END - Mailing list pgsql-bugs

From Tom Lane
Subject Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END
Date
Msg-id 18290.1180556283@sss.pgh.pa.us
Whole thread Raw
In response to Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
List pgsql-bugs
Frank van Vugt <ftm.van.vugt@foxi.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

pgsql-bugs by date:

Previous
From: "Eduardo Santos"
Date:
Subject: BUG #3323: Wrong charset for the lower and upper functions
Next
From: Pedro Gimeno Fortea
Date:
Subject: Re: BUG #3319: Superuser can't revoke grants on a schema given by aother user