Re: Oom on temp (un-analyzed table caused by JIT) V16.1 [Fixed Already] - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Oom on temp (un-analyzed table caused by JIT) V16.1 [Fixed Already]
Date
Msg-id 6A578237-999A-4CE5-9981-29FBA4C0EED9@yesql.se
Whole thread Raw
In response to Re: Oom on temp (un-analyzed table caused by JIT) V16.1 [Fixed Already]  (Kirk Wolak <wolakk@gmail.com>)
Responses Re: Oom on temp (un-analyzed table caused by JIT) V16.1 [Fixed Already]
List pgsql-hackers
> On 19 Jan 2024, at 23:09, Kirk Wolak <wolakk@gmail.com> wrote:

>  From a FUTURE email, I noticed pg_jit_available() and it's set to f??

Right, then this installation does not contain the necessary library to JIT
compile the query.

> Okay, so does this require a special BUILD command?

Yes, it requires that you compile with --with-llvm.  If you don't have llvm in
the PATH you might need to set LLVM_CONFIG to point to your llvm-config binary.
With autotools that would be something like:

    ./configure <other params> --with-llvm LLVM_CONFIG=/path/to/llvm-config

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Optimizing nbtree ScalarArrayOp execution, allowing multi-column ordered scans, skip scan
Next
From: Jeff Davis
Date:
Subject: Re: Change GUC hashtable to use simplehash?