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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END
Дата
Msg-id 3896.1180537482@sss.pgh.pa.us
обсуждение исходный текст
Ответ на backend crash with FATAL: BeginInternalSubTransaction: unexpected state END  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Ответы Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Список pgsql-bugs
Frank van Vugt <ftm.van.vugt@foxi.nl> writes:
> FATAL:  BeginInternalSubTransaction: unexpected state END

Hmm, do you get the impression that user-written constraint triggers
aren't very well tested ;-) ?

It looks to me like BeginInternalSubTransaction simply needs to allow
TBLOCK_END (and TBLOCK_PREPARE too) as acceptable initial states,
because these could be seen by a function executed during COMMIT or
PREPARE TRANSACTION-time processing of deferred triggers.  I think that
the other states it rejects are OK, because we don't try to execute any
user-written code while transiting through those TBLOCK states.

            regards, tom lane

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

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