Re: PostgreSQL 12, JIT defaults

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: PostgreSQL 12, JIT defaults
Дата
Msg-id CAFj8pRA8Uo0+ATdt9NQBrFm4LLxmvqJpG-RqLxZQFO9rh4g5VQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PostgreSQL 12, JIT defaults  (Andres Freund <andres@anarazel.de>)
Ответы Re: PostgreSQL 12, JIT defaults
Re: PostgreSQL 12, JIT defaults
Список pgsql-hackers


po 8. 10. 2018 v 17:10 odesílatel Andres Freund <andres@anarazel.de> napsal:


On October 8, 2018 8:03:56 AM PDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Andres Freund <andres@anarazel.de> writes:
>> Where is the jit=on coming from? Config from before it was turned
>off?
>
>A look in guc.c shows that jit defaults to "on" whether or not JIT is
>enabled at compile time.

I thought Pavel was talking about 11 somehow...

I am sorry, It was not clear - I talked about master



> 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.

I don't like this solution - it is safe on production - but it can breaks my development environment - or we need to change setup and make install will not be enough.

Regards

Pavel


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

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: PostgreSQL 12, JIT defaults
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Postgres 11 release notes