Re: A qsort template

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A qsort template
Date: 2022-04-02 20:07:58
Message-ID: CA+hUKGJFhfgXMvygZuNMDgsEmVTzjB2vcttbEdxZrciN0yLLjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Apr 3, 2022 at 12:41 AM John Naylor
<john(dot)naylor(at)enterprisedb(dot)com> wrote:
> On Sat, Apr 2, 2022 at 5:27 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> > Reproduced locally, using the same few lines from the cluster.sql
> > test. I'll try to dig more tomorrow...
>
> Thanks! Unfortunately I can't reproduce locally with clang 13/gcc 11,
> with -Og or -O2 with CFLAGS="-fsanitize=undefined,alignment" ...

Maybe you need to add -fno-sanitize-recover=all to make it crash,
otherwise it just prints the warning and keeps going.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-04-02 20:14:15 Re: Fix overflow in DecodeInterval
Previous Message Joseph Koshakow 2022-04-02 19:51:38 Re: Fix overflow in DecodeInterval