Re: is JIT available

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: Christoph Moench-Tegeder <cmt(at)burggraben(dot)net>, PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: is JIT available
Date: 2020-07-29 01:19:55
Message-ID: CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 29 Jul 2020 at 00:26, Scott Ribe <scott_ribe(at)elevated-dev(dot)com> wrote:
> But does compilation with JIT enable and LLVM dev tools mean that all the LLVM compilation/optimization is built into the PG binaries, or does it require LLVM presence on the machine where deployed? And if so, does the function take that into account 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zwettler Markus (OIZ) 2020-07-29 10:53:34 pg_dump / pg_restore version confusion
Previous Message David Rowley 2020-07-29 01:01:45 Re: determine what column(s) form the primary key, in C extention