Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior
Date: 2020-08-27 17:20:11
Message-ID: 20200827172011.GA5717@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-Aug-27, Ranier Vilela wrote:

> If we are passing a null pointer in these places and it should not be done,
> it is a sign that perhaps these calls should not or should not be made, and
> they can be avoided.

Feel free to send a patch.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sait Talha Nisanci 2020-08-27 17:36:01 RE: [EXTERNAL] Re: WIP: WAL prefetch (another approach)
Previous Message Ranier Vilela 2020-08-27 17:11:11 Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior