Re: is JIT available - Mailing list pgsql-general

From David Rowley
Subject Re: is JIT available
Date
Msg-id CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@mail.gmail.com
Whole thread Raw
In response to Re: is JIT available  (Scott Ribe <scott_ribe@elevated-dev.com>)
List pgsql-general
On Wed, 29 Jul 2020 at 00:26, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> 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? 

It's not enough for just the build to have been built with jit
enabled. The jit extension must also be present on the machine. I
think the new wording in
https://www.postgresql.org/docs/devel/functions-info.html conveys
that:

"Returns true if a JIT compiler extension is available (see Chapter
31) and the jit configuration parameter is set to on."

David



pgsql-general by date:

Previous
From: David Rowley
Date:
Subject: Re: determine what column(s) form the primary key, in C extention
Next
From: "Zwettler Markus (OIZ)"
Date:
Subject: pg_dump / pg_restore version confusion