File tree 1 file changed +28
-2
lines changed
ansible/files/admin_api_scripts/pg_upgrade_scripts
1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,34 @@ function execute_wrappers_patch {
42
42
option_rec RECORD;
43
43
vault_secrets RECORD;
44
44
BEGIN
45
- IF EXISTS (SELECT FROM pg_available_extension_versions WHERE name = 'wrappers' AND version = '0.4.6')
46
- AND EXISTS (SELECT FROM pg_extension WHERE extname = 'wrappers')
45
+ IF EXISTS (SELECT FROM pg_extension WHERE extname = 'wrappers' AND extversion NOT IN (
46
+ '0.1.0',
47
+ '0.1.1',
48
+ '0.1.4',
49
+ '0.1.5',
50
+ '0.1.6',
51
+ '0.1.7',
52
+ '0.1.8',
53
+ '0.1.9',
54
+ '0.1.10',
55
+ '0.1.11',
56
+ '0.1.12',
57
+ '0.1.14',
58
+ '0.1.15',
59
+ '0.1.16',
60
+ '0.1.17',
61
+ '0.1.18',
62
+ '0.1.19',
63
+ '0.2.0',
64
+ '0.3.0',
65
+ '0.3.1',
66
+ '0.4.0',
67
+ '0.4.1',
68
+ '0.4.2',
69
+ '0.4.3',
70
+ '0.4.4',
71
+ '0.4.5'
72
+ ))
47
73
THEN
48
74
FOR server_rec IN
49
75
SELECT srvname, srvoptions
You can’t perform that action at this time.
0 commit comments