Re: upcoming API changes for LLVM 12

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: upcoming API changes for LLVM 12
Дата
Msg-id 20201016073819.3wmbkj5vmeeypzwi@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: upcoming API changes for LLVM 12  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: upcoming API changes for LLVM 12  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2020-10-16 02:45:51 -0300, Alvaro Herrera wrote:
> Whee, sounds pretty good ... (am I dreaming too much if I hope
> execution starts with non-jitted and switches on the fly to jitted
> once background compilation finishes?)

There's some more work needed to get there, but yes, the basics for that
are there now. It'd perhaps be doable with threads now, but it's not
clear we want that... We probably could build it with processes too -
it'd require some memory management fun, but it's doable.


> > 2) When do we want to add LLVM 12 support? PG will soon stop compiling
> >    against LLVM 12, which will be released in about 6 months. I worked
> >    with Lang to make most of the breaking changes in a branch (to be
> >    merged in the next few days), but it's possible that there will be a
> >    few smaller changes.
> 
> hmm, how regular are LLVM releases?  I mean, what if pg14 ends up being
> released sooner than LLVM12 – would there be a problem?

Pretty unlikely - they're half yearly releases, and come out on a
somewhat regular schedule. They've moved a few weeks but not more. And
even if they did - having a few #ifdefs for LLVM 12 would be ok anyway.

Greetings,

Andres Freund



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

Предыдущее
От: Luc Vlaming
Дата:
Сообщение: Re: Parallel Inserts in CREATE TABLE AS
Следующее
От: e.sokolova@postgrespro.ru
Дата:
Сообщение: [PATCH] Add extra statistics to explain for Nested Loop