Re: is JIT available - Mailing list pgsql-general

From Scott Ribe
Subject Re: is JIT available
Date
Msg-id 1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com
Whole thread Raw
In response to Re: is JIT available  (Christoph Moench-Tegeder <cmt@burggraben.net>)
Responses Re: is JIT available
List 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.




pgsql-general by date:

Previous
From: Susan Hurst
Date:
Subject: Re: shp2pgsql is missing
Next
From: Michael Lewis
Date:
Subject: Re: How does vacuum works in postgresql