Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior
Date
Msg-id CAEudQAr1fhOFVp6DPgfOoLXRb_Uz6OJuY376vL8ZiJXGK6DoFw@mail.gmail.com
Whole thread Raw
In response to Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Em qui., 27 de ago. de 2020 às 13:57, Alvaro Herrera <alvherre@2ndquadrant.com> escreveu:
On 2020-Aug-27, Ranier Vilela wrote:

> indexcmds.c (1162):
> memcpy(part_oids, partdesc->oids, sizeof(Oid) * nparts);

Looks legit, and at least per commit 13bba02271dc we do fix such things,
even if it's useless in practice.

Given that no buildfarm member has ever complained, this exercise seems
pretty pointless.
See at:

regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: Deprecating postfix and factorial operators in PostgreSQL 13
Next
From: Alvaro Herrera
Date:
Subject: Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior