Re: BUG #5269: postgres backend terminates with SIGSEGV

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5269: postgres backend terminates with SIGSEGV
Дата
Msg-id 23567.1263482210@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5269: postgres backend terminates with SIGSEGV  ("Justin Pitts" <justinpitts@gmail.com>)
Ответы Re: BUG #5269: postgres backend terminates with SIGSEGV  (Justin Pitts <jpitts@bplglobal.net>)
Список pgsql-bugs
Justin Pitts <jpitts@bplglobal.net> writes:
> My guess is that I am not provoking a 'SI queue overrun'

The 100 temp table creations probably will do that just fine.

> Am I completely off base about how this should be reproducing?

Two points: the session you hope to have crash *must* be in serializable
mode, and the crash would actually happen in the transaction after the
one that's rolled back.

The error doesn't have to be a serialization error, so in principle
you should be able to make it fail with something as simple as

    begin;
    select 1/0;
    rollback;
    select * from foo;

as long as the ROLLBACK is done with a prepared statement and you've
forced a SI overrun since the ROLLBACK was prepared.

            regards, tom lane

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

Предыдущее
От: "louis"
Дата:
Сообщение: BUG #5277: plperl can't get args properly
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5269: postgres backend terminates with SIGSEGV