Re: Avoid possible deference NULL pointer (src/backend/optimizer/path/allpaths.c)

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoid possible deference NULL pointer (src/backend/optimizer/path/allpaths.c)
Date: 2025-02-05 17:37:12
Message-ID: E6E011CC-2E68-49A8-AB3D-F95454B41694@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 5 Feb 2025, at 18:34, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:
> Em qua., 5 de fev. de 2025 às 14:08, Daniel Gustafsson <daniel(at)yesql(dot)se <mailto:daniel(at)yesql(dot)se>> escreveu:

>> Yet the author wrote an Assert here (over a decade ago), so rather than blindly
>> changing that it seems reasonable to motivate a patch like this with an
>> investigation on what the Assert means here. The fact that Coverity complains
>> is far from conclusive evidence that something is wrong.
> This is evidence that we do not have reports about this bug.

Before that can be stated it needs to be determined if this is a bug, this
thread has not done that yet.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhang Mingli 2025-02-05 17:42:34 Inconsistency between Compression and Storage for Foreign Tables
Previous Message Ranier Vilela 2025-02-05 17:34:57 Re: Avoid possible deference NULL pointer (src/backend/optimizer/path/allpaths.c)