Re: PostgreSQL 12, JIT defaults - Mailing list pgsql-hackers

From Andres Freund
Subject Re: PostgreSQL 12, JIT defaults
Date
Msg-id 8A4035A9-909B-4BB4-BC24-D1971DB65219@anarazel.de
Whole thread Raw
In response to Re: PostgreSQL 12, JIT defaults  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers

On October 8, 2018 8:10:45 AM PDT, Andres Freund <andres@anarazel.de> wrote:
>
>
>On October 8, 2018 8:03:56 AM PDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> This seems, at best, rather user-unfriendly.
>>And it's not like our conventions for other compile-option-affected
>>GUCs, eg the SSL ones.
>
>That was intentional, even though it perhaps should be better
>documented. That allows a distro to build and distribute pg without
>llvm enabled, but then have the JIT package with all the dependencies
>separately. The pg yum packages do so.

There's a function for checking whether JIT is actually available, BTW. pg_jit_available(). That also works if somebody
installsan extension that's not ours (by setting jit_provider =  ...). 


Andres

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: PostgreSQL 12, JIT defaults
Next
From: Pavel Stehule
Date:
Subject: Re: PostgreSQL 12, JIT defaults