Skip to content

Commit fb8a4a6

Browse files
committed
feat: multiple versions for the pg_jsonschema extension
Build multiple versions of the pg_jsonschema extension to on different PostgreSQL versions. Add test for the extensions and their upgrade on PostgreSQL 15 and 17.
1 parent daf0108 commit fb8a4a6

File tree

12 files changed

+7796
-94
lines changed

12 files changed

+7796
-94
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ common-nix.vars.pkr.hcl
3030

3131
# pre-commit config is managed in nix
3232
.pre-commit-config.yaml
33-
nixos.qcow2
33+
nixos.qcow2

nix/cargo-pgrx/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ let
6060
};
6161
in
6262
{
63+
cargo-pgrx_0_10_2 = mkCargoPgrx {
64+
version = "0.10.2";
65+
hash = "sha256-FqjfbJmSy5UCpPPPk4bkEyvQCnaH9zYtkI7txgIn+ls=";
66+
cargoHash = "sha256-syZ3cQq8qDHBLvqmNDGoxeK6zXHJ47Jwkw3uhaXNCzI=";
67+
};
6368
cargo-pgrx_0_11_3 = mkCargoPgrx {
6469
version = "0.11.3";
6570
hash = "sha256-UHIfwOdXoJvR4Svha6ud0FxahP1wPwUtviUwUnTmLXU=";

nix/cargo-pgrx/versions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"rust": {
3737
"1.70.0": {
3838
"cargoHash": "sha256-syZ3cQq8qDHBLvqmNDGoxeK6zXHJ47Jwkw3uhaXNCzI="
39+
},
40+
"1.76.0": {
41+
"cargoHash": "sha256-syZ3cQq8qDHBLvqmNDGoxeK6zXHJ47Jwkw3uhaXNCzI="
3942
}
4043
}
4144
},

nix/ext/pg_jsonschema.nix

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)