Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal - Mailing list pgsql-general

From Tom Lane
Subject Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal
Date
Msg-id 3984384.1646431394@sss.pgh.pa.us
Whole thread Raw
In response to Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal  (hubert depesz lubaczewski <depesz@depesz.com>)
Responses Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal
Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal
List pgsql-general
hubert depesz lubaczewski <depesz@depesz.com> writes:
> On Fri, Mar 04, 2022 at 02:09:52PM -0500, Tom Lane wrote:
>> I tried and failed to reproduce this on Fedora 35 on aarch64,
>> but that has what I think is a newer LLVM version:

> I have suspicion that it also kinda depends on number of rows in there.
> When I deleted some schemas, which included some functions, the problem
> disappeared.
> I wasn't able to pinpoint specific thing, though, and when I called the
> pg_proc + pg_roles query for each separate row - it worked flawlessly.

Mmm ... it might have just been that the planner chose not to use
JIT when it thought there were fewer rows involved.  Did you check
with EXPLAIN that these cut-down cases still used JIT?

            regards, tom lane



pgsql-general by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal
Next
From: Mladen Gogala
Date:
Subject: Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal