Re: BUG #17406: Segmentation fault on GiST index after 14.2 upgrade

From: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
To: Victor Yegorov <vyegorov(at)gmail(dot)com>
Cc: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17406: Segmentation fault on GiST index after 14.2 upgrade
Date: 2022-02-16 12:23:43
Message-ID: CAFBsxsGDb+bOVpNxvS3r--sTAKTk8aFHvuNche=PmSVK71_mMg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Feb 16, 2022 at 3:15 PM Victor Yegorov <vyegorov(at)gmail(dot)com> wrote:

> For custom build I need some time to actually build it.
> What options would you recommend (for configure) me to use here?

Normally for debug builds you would use something like

--enable-cassert \
--enable-debug \
CFLAGS="-ggdb -Og -fno-omit-frame-pointer"

-Og still performs some optimization (on gcc it's like -O1 but with
some optimization passes taken out that interfere with debuging), so
it's somewhat realistic compared to production code. But to make sure
this argument is visible, you might have to use -O0 (no optimization).

--
John Naylor
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2022-02-16 13:23:34 Re: BUG #17408: Duplicate aliases silently fail
Previous Message John Naylor 2022-02-16 12:08:36 Re: BUG #17408: Duplicate aliases silently fail