> 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.