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 b99cccb commit 7c0e496Copy full SHA for 7c0e496
nix/ext/pg_cron.nix
@@ -42,6 +42,9 @@ let
42
-e "s|^module_pathname = .*|module_pathname = '\$libdir/${pname}-${version}'|" \
43
${pname}.control > $out/share/postgresql/extension/${pname}--${version}.control
44
45
+ # Create version-specific SQL file
46
+ cp ${pname}.sql $out/share/postgresql/extension/${pname}--${version}.sql
47
+
48
# For the latest version, create default control file and symlink and copy SQL upgrade scripts
49
if [[ "${version}" == "${latestVersion}" ]]; then
50
{
0 commit comments