Commit 37e8528
feat: multi version pg_net including 0.19.5 (#1744)
* feat: multi version pg_net including 0.19.5
* feat: bump ver and add tests
* feat: if file exists, run prestart version switch scripts
* tests: bump version to test
* fix: rm unneeded check and fix err codes for file handling
* chore: bump version for testing
* chore: update versions for release
* Add pg-net nixos test in flake checks output
* Move switch_pg_net_version script into separate package
* Fix shellcheck errors
* feat:
limit using verison in extension creation to admin user for all extensions
by using supautils and before-create hooks
add test for this in pg_net
* feat(pg_net): switch version on file system using overlayfs
For pg_net background worker, we need to switch the version of the
extension on the file system (both pg_net.so and pg_net.control need to point
to the desired version).
As the extension is in the Nix store, we cannot simply symlink to the
desired version, as the Nix store is read-only.
To work around this, we use overlayfs to create a writable layer on top
of the pg_net store path.
* Revert "feat:"
This reverts commit 268cadb.
* fix: fmt
* chore: bump version for testin
* fix: control files need module_pathname
* Revert "fix: control files need module_pathname"
This reverts commit 4996d81.
This change would not resolve the issue it was targeting.
* chore: version bump for testing
* fix: limit flag to versions less than 0.19.1
* chore: bump version for release
---------
Co-authored-by: Jean-François Roche <[email protected]>1 parent 88247a3 commit 37e8528
File tree
10 files changed
+565
-36
lines changed- ansible
- files
- nix
- ext
- tests
- tests/expected
10 files changed
+565
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
29 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
30 | 116 | | |
31 | 117 | | |
32 | 118 | | |
| |||
35 | 121 | | |
36 | 122 | | |
37 | 123 | | |
| 124 | + | |
| 125 | + | |
38 | 126 | | |
39 | 127 | | |
40 | 128 | | |
| |||
46 | 134 | | |
47 | 135 | | |
48 | 136 | | |
49 | | - | |
| 137 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
312 | 316 | | |
313 | 317 | | |
314 | 318 | | |
| |||
0 commit comments