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