Re: is JIT available
Scott Ribe <scott_ribe@elevated-dev.com>
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Christoph Moench-Tegeder <cmt@burggraben.net>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Date: 2020-07-27T16:18:33Z
Lists: pgsql-general
> On Jul 25, 2020, at 8:02 AM, Christoph Moench-Tegeder <cmt@burggraben.net> wrote: > > ## Scott Ribe (scott_ribe@elevated-dev.com): > >> So JIT is enabled in your conf, how can you tell from within a client >> session whether it's actually available (PG compiled with it and >> compiler available)? > > pg_jit_available() boolean is JIT compilation available in this session > > https://www.postgresql.org/docs/12/functions-info.html Thanks, that seems to be exactly what I was looking for. Even though the documentation is not clear, it does return false when jit = on but PG was not compiled with JIT.
Commits
-
Doc: Improve documentation for pg_jit_available()
- baecd2715b5c 11.9 landed
- 6ed346499c30 12.4 landed
- dc6f2fb43535 13.0 landed
- d7c8576ebe39 14.0 landed