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

Поиск
Список
Период
Сортировка
От Frank van Vugt
Тема Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END
Дата
Msg-id 200705301733.52510.ftm.van.vugt@foxi.nl
обсуждение исходный текст
Ответ на Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> Hmm, do you get the impression that user-written constraint triggers
> aren't very well tested ;-) ?

Well, we users are here to serve ;)

> It looks to me like BeginInternalSubTransaction simply needs to allow
> TBLOCK_END (and TBLOCK_PREPARE too) as acceptable initial states

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?

At the moment, this looks like a showstopper, so I'd prefer patching and move
on ;)





--
Best,




Frank.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END
Следующее
От: Tom Lane
Дата:
Сообщение: Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END