forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5194431
committed
Simplify and merge unwanted-module drop logic in AdjustUpgrade.pm.
Inbe78006 and followups, we failed to notice that there wasalready a better way to do it: instead of using DROP DATABASEIF EXISTS, we can check the list of existing DBs. Also, thereseems no reason not to merge this into the pre-existing codefor getting rid of unwanted module databases.Discussion:https://postgr.es/m/1066872.1710006597@sss.pgh.pa.us1 parent76904ed commit5194431
1 file changed
+7
-12
lines changedLines changed: 7 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
| 89 | + | |
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
97 | 103 |
| |
98 | 104 |
| |
99 | 105 |
| |
| |||
106 | 112 |
| |
107 | 113 |
| |
108 | 114 |
| |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 | 115 |
| |
121 | 116 |
| |
122 | 117 |
| |
|
0 commit comments
Comments
(0)