Skip to content

Commit a4828c2

Browse files
committed
fix: wrappers server options again
1 parent 88372b9 commit a4828c2

File tree

1 file changed

+2
-1
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+2
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/complete.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ function execute_wrappers_patch {
4242
option_rec RECORD;
4343
vault_secrets RECORD;
4444
BEGIN
45-
IF EXISTS (SELECT FROM pg_extension WHERE extname = 'wrappers' AND extversion NOT IN (
45+
IF EXISTS (SELECT FROM pg_extension WHERE extname = 'wrappers')
46+
AND EXISTS (SELECT FROM pg_available_extension_versions WHERE name = 'wrappers' AND version NOT IN (
4647
'0.1.0',
4748
'0.1.1',
4849
'0.1.4',

0 commit comments

Comments
 (0)