Re: Crash in add_paths_to_append_rel

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Crash in add_paths_to_append_rel
Дата
Msg-id CAMbWs48ay4k5t3PtDd-sJbrin3hZOakfBfWY36GnkKm3pbHkdA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Crash in add_paths_to_append_rel  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers

On Tue, Oct 10, 2023 at 11:52 AM David Rowley <dgrowleyml@gmail.com> wrote:
On Mon, 9 Oct 2023 at 22:49, Richard Guo <guofenglinux@gmail.com> wrote:
> I came across a crash in add_paths_to_append_rel() with the query below.

> It was introduced by commit a8a968a8 where we referenced
> cheapest_startup_path->param_info without first checking that we have a
> valid cheapest_startup_path.

I pushed this with just minor adjustments to the comments you wrote. I
didn't feel the need to reiterate on the set_cheapest() comments.

Thanks for pushing!

Thanks
Richard

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

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: Crash in add_paths_to_append_rel
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Add const to values and nulls arguments