Re: help with PL/PgSQL bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: help with PL/PgSQL bug
Дата
Msg-id 155.1042248502@sss.pgh.pa.us
обсуждение исходный текст
Ответ на help with PL/PgSQL bug  (Neil Conway <neilc@samurai.com>)
Ответы Re: help with PL/PgSQL bug  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> Someone contacted me in IRC about a bug in PL/PgSQL. I've confirmed that
> the example SQL they sent me causes a segfault on my machine (CVS HEAD),
> but I've so far not had a lot of success tracking down the exact cause
> of the problem.

The core dump appears to occur when the SELECT INTO fails to retrieve
a row, leaving "finalrec" undefined.  Clearly, RETURN NEXT with an
undefined record variable shouldn't dump core, but what should it do?
Raise an error, or perhaps be a no-op?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 7.3 pg_dump with -Fc option crashes
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: v7.3.1 psql against a v7.2.x database ...