On 2018-02-01 08:46:08 -0500, Peter Eisentraut wrote: > On 1/31/18 14:45, Robert Haas wrote: > > We could do that, but I'd be more inclined just to let JIT be > > magically enabled. In general, if a user could do 'yum install ip4r' > > (for example) and have that Just Work without any further database > > configuration, > > One way to do that would be to have a system-wide configuration file > like /usr/local/pgsql/etc/postgresql/postgresql.conf, which in turn > includes /usr/local/pgsql/etc/postgresql/postgreql.conf.d/*, and have > the add-on package install its configuration file with the setting jit = > on there.
I think Robert's comment about extensions wasn't about extensions and jit, just about needing CREATE EXTENSION. I don't see any need for per-extension/shlib configurability of JITing. > Then again, if we want to make it simpler, just link the whole thing in > and turn it on by default and be done with it. I'd personally be ok with that too... Greetings, Andres Freund