You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: multiple versions for the wrappers extension
Build multiple versions of the wrappers extension on different PostgreSQL versions.
Add test for the extensions and their upgrade on PostgreSQL 15 and 17.
Make sure we build cargo extension and cargo-pgrx with the specified Rust version.
Copy file name to clipboardExpand all lines: nix/cargo-pgrx/mkPgrxExtension.nix
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ let
26
26
let
27
27
pgrx=
28
28
versions.${pgrxVersion}
29
-
or(throw"Unsupported pgrx version ${pgrxVersion}. Available versions: ${builtins.attrNamesversions}. Change 'nix/cargo-pgrx/versions.json' to add support for new versions.");
29
+
or(throw"Unsupported pgrx version ${pgrxVersion}. Available versions: ${builtins.toString(builtins.attrNamesversions)}. Change 'nix/cargo-pgrx/versions.json' to add support for new versions.");
30
30
mapping={
31
31
inherit(pgrx)hash;
32
32
cargoHash=
33
33
pgrx.rust."${rustVersion}".cargoHash
34
-
or(throw"Unsupported rust version ${rustVersion} for pgrx version ${pgrxVersion}. Available Rust versions: ${builtins.attrNamespgrx.rust}. Change 'nix/cargo-pgrx/versions.json' to add support for new versions.");
34
+
or(throw"Unsupported rust version ${rustVersion} for pgrx version ${pgrxVersion}. Available Rust versions: ${builtins.toString(builtins.attrNamespgrx.rust)}. Change 'nix/cargo-pgrx/versions.json' to add support for new versions.");
0 commit comments