- Notifications
You must be signed in to change notification settings - Fork5
Commit472f608
committed
One more hack to make contrib upgrades from 9.0 match fresh 9.1 installs.
intarray and tsearch2 both reference core support functions in their GINopclasses, and the signatures of those functions changed for 9.1. We addedbackwards-compatible pg_proc entries for the functions in order to allow9.0 dump files to be restored at all, but that hack leaves the opclassespointing at pg_proc entries different from what they'd point to if thecontrib modules were installed fresh in 9.1. To forestall any possibilityof future problems, fix the opclasses to match fresh installs via theexpedient of direct UPDATEs on pg_amproc in the update-from-unpackagedscripts. (Yech ... but the alternatives are worse, or require far moreeffort than seems justified right now.)Note: updating pg_amproc is sufficient because there will be no pg_dependentries corresponding to these dependencies, since the referenced functionsare all pinned.1 parenta5dfc94 commit472f608
File tree
2 files changed
+59
-0
lines changed- contrib
- intarray
- tsearch2
2 files changed
+59
-0
lines changedLines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + |
Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + |
0 commit comments
Comments
(0)