We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f921941 commit 90c5e4bCopy full SHA for 90c5e4b
nix/packages/switch-ext-version.nix
@@ -54,6 +54,14 @@ writeShellApplication {
54
# Update library symlink
55
ln -sfnv "$EXT_LIB_TO_USE" "$EXT_WRAPPER_LIB/$EXT_NAME${postgresql.dlSuffix}"
56
57
+ # Handle timescaledb-loader symlink (specific to timescaledb)
58
+ if [ "$EXT_NAME" = "timescaledb" ]; then
59
+ EXT_LOADER_TO_USE="$EXT_WRAPPER_LIB/$EXT_NAME-loader-$VERSION${postgresql.dlSuffix}"
60
+ if [ -f "$EXT_LOADER_TO_USE" ]; then
61
+ ln -sfnv "$EXT_LOADER_TO_USE" "$EXT_WRAPPER_LIB/$EXT_NAME-loader${postgresql.dlSuffix}"
62
+ fi
63
64
+
65
# Update control file
66
EXT_WRAPPER_SHARE="$EXT_WRAPPER/share/postgresql/extension"
67
echo "default_version = '$VERSION'" > "$EXT_WRAPPER_SHARE/$EXT_NAME.control"
0 commit comments