Re: Crash in add_paths_to_append_rel
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Richard Guo <guofenglinux@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2023-10-09T11:35:38Z
Lists: 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. Thank you for the report. Since you've managed to attribute this to a specific commit, for the future, I think instead of opening a new thread, it would be more useful to communicate the issue on the thread that's linked in the commit message. I will look at this tomorrow. David
Commits
-
Fix possible crash in add_paths_to_append_rel()
- fc4089f3c65a 17.0 landed
-
Consider cheap startup paths in add_paths_to_append_rel
- a8a968a8212e 17.0 cited