pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: Christoph Moench-Tegeder <cmt@burggraben.net>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: is JIT available
Date: Mon, 27 Jul 2020 23:33:44 -0400
Message-ID: <1153093.1595907224@sss.pgh.pa.us> (raw)
In-Reply-To: <CAApHDvrPws1_vB=AAMgCodsJ0A+-E12rQEtNYewgQONJyO9=uA@mail.gmail.com>
References: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com>
	<20200725140211.GA2440@elch.exwg.net>
	<1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com>
	<CAApHDvrPws1_vB=AAMgCodsJ0A+-E12rQEtNYewgQONJyO9=uA@mail.gmail.com>

David Rowley <dgrowleyml@gmail.com> writes:
> Maybe this would be better?

> "returns true if jit is enabled and JIT compilation is available in
> this session (see Chapter 31)."

The general, non-hacker meaning of "jit is enabled" would seem to
be pretty much what this function is already doing; and for that
matter, the same can be said for "JIT compilation is available".
We need something that's less tautological-looking.  Maybe along
the lines of

"returns true if a JIT compiler extension is available and the
<varname>jit</varname> parameter is set to <literal>on</literal>;
when this is true, JIT compilation will be performed."

?

			regards, tom lane





view thread (16+ messages)  latest in thread

Message-ID: <1153093.1595907224@sss.pgh.pa.us>
Permalink:  ../1153093.1595907224@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1153093.1595907224@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, dgrowleyml@gmail.com, scott_ribe@elevated-dev.com, cmt@burggraben.net
  Subject: Re: is JIT available
  In-Reply-To: <1153093.1595907224@sss.pgh.pa.us>
  References: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com> <20200725140211.GA2440@elch.exwg.net> <1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com> <CAApHDvrPws1_vB=AAMgCodsJ0A+-E12rQEtNYewgQONJyO9=uA@mail.gmail.com> <1153093.1595907224@sss.pgh.pa.us>

* 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