Re: PostgreSQL 12, JIT defaults

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL 12, JIT defaults
Дата
Msg-id 29186.1539013422@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL 12, JIT defaults  (Andres Freund <andres@anarazel.de>)
Ответы Re: PostgreSQL 12, JIT defaults
Re: PostgreSQL 12, JIT defaults
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On October 8, 2018 8:03:56 AM PDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> A look in guc.c shows that jit defaults to "on" whether or not JIT is
>> enabled at compile time.
>> 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
distributepg without llvm enabled, but then have the JIT package with all the dependencies separately. The pg yum
packagesdo so. 

I'm not following.  A distro wishing to do that would configure
--with-llvm, not without, and then simply split up the build results
so that the JIT stuff is in a separate subpackage.  If you configured
--without-llvm then the resulting core code is (one hopes) entirely
incapable of using JIT, and it'd be better if the GUC settings
reflected that.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: executor relation handling
Следующее
От: Adrien NAYRAT
Дата:
Сообщение: Re: Postgres 11 release notes