File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
ansible/files/admin_api_scripts/pg_upgrade_scripts Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 174
174
function patch_wrappers {
175
175
local IS_NIX_UPGRADE=$1
176
176
177
+ WRAPPERS_ENABLED=$( run_sql -A -t -c " SELECT EXISTS(SELECT 1 FROM pg_extension WHERE extname = 'wrappers');" )
178
+ if [ " $WRAPPERS_ENABLED " = " f" ]; then
179
+ echo " Wrappers extension not enabled. Skipping."
180
+ return
181
+ fi
182
+
177
183
# This is a workaround for older versions of wrappers which don't have the expected
178
184
# naming scheme, containing the version in their library's file name
179
185
# e.g. wrappers-0.1.16.so, rather than wrappers.so
Original file line number Diff line number Diff line change 13
13
let
14
14
gitTags = builtins . fromJSON ( builtins . readFile ( builtins . fetchurl {
15
15
url = "https://api.github.com/repos/supabase/wrappers/tags" ;
16
- sha256 = "0am40yspir70wp8pik1c7qmfvbby3nyxza115pi9klp6fyv2s93j " ; # Replace with actual hash
16
+ sha256 = "0pvavn0f8wnaszq4bmvjkadm6xbvf91rbhcmmgjasqajb69vskv9 " ; # Replace with actual hash
17
17
} ) ) ;
18
18
in
19
19
buildPgrxExtension_0_11_3 rec {
You can’t perform that action at this time.
0 commit comments