From 6c455620b31860de5c0b0de124a321a4aa5e4414 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 12 Jun 2025 14:10:21 +0200 Subject: [PATCH] postgresqlPackages.timescaledb: fix passthru tests timescaledb_toolkit never was a library to be preloaded anyway, it must have found its way in there by accident. The extension is created via CREATE EXTENSION, and that's enough for the test to pass. The reason this fails is, because a recent commit changed the way the timescaledb_toolkit.so library is created - it now carries a version number, which makes PostgreSQL not able to find it. --- pkgs/servers/sql/postgresql/ext/timescaledb.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/ext/timescaledb.nix b/pkgs/servers/sql/postgresql/ext/timescaledb.nix index 0152be513915..349732a40010 100644 --- a/pkgs/servers/sql/postgresql/ext/timescaledb.nix +++ b/pkgs/servers/sql/postgresql/ext/timescaledb.nix @@ -53,7 +53,7 @@ postgresqlBuildExtension (finalAttrs: { inherit (finalAttrs) finalPackage; withPackages = [ "timescaledb_toolkit" ]; postgresqlExtraSettings = '' - shared_preload_libraries='timescaledb,timescaledb_toolkit' + shared_preload_libraries='timescaledb' ''; sql = '' CREATE EXTENSION timescaledb;