Re: is JIT available

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: is JIT available
Дата
Msg-id 1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com
обсуждение исходный текст
Ответ на Re: is JIT available  (Christoph Moench-Tegeder <cmt@burggraben.net>)
Ответы Re: is JIT available  (David Rowley <dgrowleyml@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Susan Hurst
Дата:
Сообщение: Re: shp2pgsql is missing
Следующее
От: Michael Lewis
Дата:
Сообщение: Re: How does vacuum works in postgresql