nixpkgs/nixos/modules/services/databases
Maximilian Bosch e2fb651752
nixos/postgresql: fix enableJIT
Make sure that JIT is actually available when using

    services.postgresql = {
      enable = true;
      enableJIT = true;
      package = pkgs.postgresql_15;
    };

The current behavior is counter-intuitive because the docs state that
`enableJIT = true;` is sufficient even though it wasn't in that case
because the declared package doesn't have the LLVM dependency.

Fixed by using `package.withJIT` if `enableJIT = true;` and
`package.jitSupport` is `false`.

Also updated the postgresql-jit test to test for that case.
2023-03-29 08:39:47 +02:00
..
aerospike.nix
cassandra.nix nixos/cassandra: Prepare for cassandra 4 2022-12-06 14:09:38 +01:00
clickhouse.nix Merge pull request #186660 from aopom/clickhouse-conf 2023-02-14 15:58:09 +01:00
cockroachdb.nix
couchdb.nix treewide: switch to port type for nixos modules 2022-12-01 22:30:00 +01:00
dgraph.nix modules: add mkPackageOptionMD 2023-01-05 02:33:13 +01:00
dragonflydb.nix
firebird.nix nixos: fix typos 2022-12-17 19:31:14 -05:00
foundationdb.md nixos/foundationdb: convert manual chapter to MD 2023-01-10 10:31:55 +01:00
foundationdb.nix nixos/manual: render module chapters with nixos-render-docs 2023-01-27 20:07:34 +01:00
hbase-standalone.nix
influxdb.nix
influxdb2.nix nixos/influxdb2: set timezone data environment variable 2022-11-06 11:12:42 +11:00
memcached.nix
monetdb.nix
mongodb.nix
mysql.nix nixos/doc: fix some options 2022-12-08 17:52:52 +01:00
neo4j.nix
openldap.nix nixos/doc: fix some options 2022-12-08 17:52:52 +01:00
opentsdb.nix treewide: use mkEnableOption in nixos modules 2022-11-10 09:30:00 +01:00
pgmanage.nix treewide: use types.port in nixos modules 2022-11-10 09:30:00 +01:00
postgresql.md postgresql: pass through JIT-enabled variant of non-JIT postgres and vice versa 2023-03-29 08:39:46 +02:00
postgresql.nix nixos/postgresql: fix enableJIT 2023-03-29 08:39:47 +02:00
redis.nix nixos/redis: simplify 2022-11-30 17:38:52 -05:00
rethinkdb.nix
surrealdb.nix surrealdb: add package option 2022-12-15 19:52:28 -05:00
victoriametrics.nix