From: Scott Ribe <scott_ribe@elevated-dev.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Christoph Moench-Tegeder <cmt@burggraben.net>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: is JIT available
Date: Tue, 28 Jul 2020 06:26:31 -0600
Message-ID: <E8FAF1BC-A37A-44E7-8568-65847558FE53@elevated-dev.com> (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>
> On Jul 27, 2020, at 6:04 PM, David Rowley <dgrowleyml@gmail.com> wrote:
>
> "returns true if jit is enabled and JIT compilation is available in
> this session (see Chapter 31)."
That is clearer. I didn't submit a suggestion myself because I'm not clear on the actual circumstances. I know it won't be available if:
- jit is not on in config
- PG was not compiled with JIT support
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?
I would guess the function is telling the truth under all circumstances, but I don't know for sure.
Perhaps: "returns true if JIT (see Chapter 31) is available in this session. Availability of JIT requires that PG was compiled with JIT support, JIT is enabled in config, <blah blah blah is installed???>.
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, dgrowleyml@gmail.com, cmt@burggraben.net
Subject: Re: is JIT available
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>
* 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