Re: Crash in add_paths_to_append_rel

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Crash in add_paths_to_append_rel
Date: 2023-10-09 11:35:38
Message-ID: CAApHDvr+HgyKEAvY2RL7gYeCqUU9HYT9f6N4Ux0=FwrnDo5Ymg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 9 Oct 2023 at 22:49, Richard Guo <guofenglinux(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2023-10-09 11:50:21 Re: Synchronizing slots from primary to standby
Previous Message David Rowley 2023-10-09 11:03:35 Re: Draft LIMIT pushdown to Append and MergeAppend patch