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 f10a98f commit e566132Copy full SHA for e566132
nix/ext/plpgsql-check.nix
@@ -110,6 +110,16 @@ buildEnv {
110
ls -la $out/lib/*${postgresql.dlSuffix} || true
111
exit 1
112
fi
113
+
114
+ # Create empty upgrade files between consecutive versions
115
+ # plpgsql_check ships without upgrade scripts - extensions are backward-compatible
116
+ previous_version=""
117
+ for ver in ${lib.concatStringsSep " " versions}; do
118
+ if [[ -n "$previous_version" ]]; then
119
+ touch $out/share/postgresql/extension/${pname}--''${previous_version}--''${ver}.sql
120
+ fi
121
+ previous_version=$ver
122
+ done
123
'';
124
125
passthru = {
0 commit comments