Re: is JIT available

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Christoph Moench-Tegeder <cmt(at)burggraben(dot)net>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: is JIT available
Date: 2020-07-27 16:18:33
Message-ID: 1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Jul 25, 2020, at 8:02 AM, Christoph Moench-Tegeder <cmt(at)burggraben(dot)net> wrote:
>
> ## Scott Ribe (scott_ribe(at)elevated-dev(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Lewis 2020-07-27 19:14:16 Re: How does vacuum works in postgresql
Previous Message alex maslakov 2020-07-27 15:38:02 determine what column(s) form the primary key, in C extention