Re: Crash in add_paths_to_append_rel

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Crash in add_paths_to_append_rel
Дата
Msg-id CAApHDvrNk2X6y592S5esBchTOJuvjnGWwX9-epSK3EGoaqfwOA@mail.gmail.com
обсуждение исходный текст
Ответ на Crash in add_paths_to_append_rel  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Crash in add_paths_to_append_rel  (Andy Fan <zhihui.fan1213@gmail.com>)
Re: Crash in add_paths_to_append_rel  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
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.

David



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [PATCH] hstore: Fix parsing on Mac OS X: isspace() is locale specific
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Lowering the default wal_blocksize to 4K