forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4eb49db
committed
Fix contrib/pg_trgm to have smoother updates from 9.0.
Take care of some loose ends in the update-from-unpackaged script, andapply some ugly hacks to ensure that it produces the same catalog stateas the fresh-install script. Per discussion, this seems like a saferplan than having two different catalog states that both call themselves"pg_trgm 1.0", even if it's not immediately clear that the subtledifferences would ever matter.Also, fix the stub function gin_extract_trgm() so that it works insteadof just bleating. Needed because this function will get called during aregular dump and reload, if there are any indexes using its opclass.The user won't have an opportunity to update the extension till later,so telling him to do so is unhelpful.1 parent3472a2b commit4eb49db
File tree
3 files changed
+83
-15
lines changed- contrib/pg_trgm
3 files changed
+83
-15
lines changedLines changed: 17 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 | 112 |
| |
116 | 113 |
| |
117 | 114 |
| |
118 | 115 |
| |
119 | 116 |
| |
120 | 117 |
| |
121 | 118 |
| |
122 |
| - | |
123 | 119 |
| |
124 | 120 |
| |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
125 | 132 |
| |
126 | 133 |
| |
127 | 134 |
| |
| |||
143 | 150 |
| |
144 | 151 |
| |
145 | 152 |
| |
146 |
| - | |
147 |
| - | |
148 | 153 |
| |
149 | 154 |
| |
150 | 155 |
| |
151 | 156 |
| |
152 | 157 |
| |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + |
Lines changed: 60 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
| |||
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 | 21 |
| |
26 | 22 |
| |
27 | 23 |
| |
28 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
29 | 67 |
| |
30 | 68 |
| |
31 | 69 |
| |
| |||
38 | 76 |
| |
39 | 77 |
| |
40 | 78 |
| |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + |
Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 |
| |
41 | 43 |
| |
42 | 44 |
| |
|
0 commit comments
Comments
(0)