pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Christoph Moench-Tegeder <cmt@burggraben.net>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: is JIT available
Date: Mon, 27 Jul 2020 10:18:33 -0600
Message-ID: <1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com> (raw)
In-Reply-To: <20200725140211.GA2440@elch.exwg.net>
References: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com>
	<20200725140211.GA2440@elch.exwg.net>

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






view thread (16+ messages)  latest in thread

Message-ID: <1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com>
Permalink:  ../1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com/
Also on:    postgresql.org/message-id/1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: scott_ribe@elevated-dev.com, cmt@burggraben.net
  Subject: Re: is JIT available
  In-Reply-To: <1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com>
  References: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com> <20200725140211.GA2440@elch.exwg.net> <1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox