> On 19 Jan 2024, at 11:04, Michael Banck <mba...@gmx.net> wrote: > > Hi, > > On Fri, Jan 19, 2024 at 10:48:12AM +0100, Daniel Gustafsson wrote: >> This does bring up an interesting point, I don't think there is a way >> for a user to know whether the server is jit enabled or not (apart >> from explaining a query with costs adjusted but that's not all that >> userfriendly). Maybe we need a way to reliably tell if JIT is active >> or not. > > I thought this is what pg_jit_available() is for?
Ah, it is, I completely forgot we had that one. Thanks! -- Daniel Gustafsson