pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <dgrowleyml@gmail.com>
To: 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: Wed, 29 Jul 2020 13:19:55 +1200
Message-ID: <CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@mail.gmail.com> (raw)
In-Reply-To: <E8FAF1BC-A37A-44E7-8568-65847558FE53@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>
	<CAApHDvrPws1_vB=AAMgCodsJ0A+-E12rQEtNYewgQONJyO9=uA@mail.gmail.com>
	<E8FAF1BC-A37A-44E7-8568-65847558FE53@elevated-dev.com>

On Wed, 29 Jul 2020 at 00:26, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> But does compilation with JIT enable and LLVM dev tools mean that all the LLVM compilation/optimization is built into the PG binaries, or does it require LLVM presence on the machine where deployed? And if so, does the function take that into account as well?

It's not enough for just the build to have been built with jit
enabled. The jit extension must also be present on the machine. I
think the new wording in
https://www.postgresql.org/docs/devel/functions-info.html conveys
that:

"Returns true if a JIT compiler extension is available (see Chapter
31) and the jit configuration parameter is set to on."

David





view thread (16+ messages)

Message-ID: <CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@mail.gmail.com>
Permalink:  ../CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@mail.gmail.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: dgrowleyml@gmail.com, scott_ribe@elevated-dev.com, cmt@burggraben.net
  Subject: Re: is JIT available
  In-Reply-To: <CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@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> <E8FAF1BC-A37A-44E7-8568-65847558FE53@elevated-dev.com> <CAApHDvrYKC5cF27VBkkLc3fFsByFM1fc4RPGFMpb+TbofrT8rQ@mail.gmail.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