Re: is JIT available - Mailing list pgsql-general

From Scott Ribe
Subject Re: is JIT available
Date
Msg-id E8FAF1BC-A37A-44E7-8568-65847558FE53@elevated-dev.com
Whole thread Raw
In response to Re: is JIT available  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: is JIT available
List pgsql-general
> On Jul 27, 2020, at 6:04 PM, David Rowley <dgrowleyml@gmail.com> wrote:
>
> "returns true if jit is enabled and JIT compilation is available in
> this session (see Chapter 31)."

That is clearer. I didn't submit a suggestion myself because I'm not clear on the actual circumstances. I know it won't
beavailable if: 

- jit is not on in config
- PG was not compiled with JIT support

But does compilation with JIT enable and LLVM dev tools mean that all the LLVM compilation/optimization is built into
thePG binaries, or does it require LLVM presence on the machine where deployed? And if so, does the function take that
intoaccount as well? 

I would guess the function is telling the truth under all circumstances, but I don't know for sure.

Perhaps: "returns true if JIT (see Chapter 31) is available in this session. Availability of JIT requires that PG was
compiledwith JIT support, JIT is enabled in config, <blah blah blah is installed???>. 


pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: Issues of slow running queries when dealing with Big Data
Next
From: Scott Ribe
Date:
Subject: Re: is JIT available