Re: is JIT available
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: Christoph Moench-Tegeder <cmt@burggraben.net>, PostgreSQL General <pgsql-general@lists.postgresql.org>
Date: 2020-07-29T01:19:55Z
Lists: 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 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
Commits
-
Doc: Improve documentation for pg_jit_available()
- baecd2715b5c 11.9 landed
- 6ed346499c30 12.4 landed
- dc6f2fb43535 13.0 landed
- d7c8576ebe39 14.0 landed