Re: JIT on Windows with Postgres 12.1 - Mailing list pgsql-general

From Andres Freund
Subject Re: JIT on Windows with Postgres 12.1
Date
Msg-id 20200212200511.iu74lazbhj4tym3l@alap3.anarazel.de
Whole thread Raw
In response to Re: JIT on Windows with Postgres 12.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: JIT on Windows with Postgres 12.1  (Michael Paquier <michael@paquier.xyz>)
List pgsql-general
Hi,

On 2020-02-12 14:54:56 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2020-02-12 09:39:19 +0100, Josef Šimánek wrote:
> >> I'm not aware of any PG 12 Windows installer with JIT/LLVM enabled.
> 
> > It's not currently supported by the windows buildsystem. I don't
> > personally have the expertise to change that (I've not worked on windows
> > after ~2003). So somebody would have to step in to make that work,
> > first.
> 
> First you would need either a Windows-native LLVM, or a JIT provider
> based on Microsoft's compiler.  I don't know if the former exists
> (it would not be our job to create it).

Yes, LLVM would work on windows. I'd not even be surprised if one could
make it work on windows already when using a mingw based build, instead
of msvc.


> I'm not sure if the latter is possible, but for sure it'd be a large
> task if it is possible.

Yea, it'd be a lot of work to add a second provider. No iea if there's
any support for it around visual studio - but I also see no point going
there.

Greetings,

Andres Freund



pgsql-general by date:

Previous
From: Justin
Date:
Subject: Re: JIT on Windows with Postgres 12.1
Next
From: Tomas Vondra
Date:
Subject: Re: Avoiding out of date statistics / planner