forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7e74aaf
committed
Fix default signature length for gist_ltree_ops
911e702 implemented operator class parameters including the signature lengthin ltree. Previously, the signature length for gist_ltree_ops was 8. Becauseof bug911e702 the default signature length for gist_ltree_ops became 28 forltree 1.1 (where options method is NOT provided) and 8 for ltree 1.2 (whereoptions method is provided). This commit changes the default signature lengthfor ltree 1.1 to 8.Existing gist_ltree_ops indexes might be corrupted in various scenarios.Thus, we have to recommend reindexing all the gist_ltree_ops indexes afterthe upgrade.Reported-by: Victor YegorovReviewed-by: Tomas Vondra, Tom Lane, Andres Freund, Nikita GlukhovReviewed-by: Andrew DunstanAuthor: Tomas Vondra, Alexander KorotkovDiscussion:https://postgr.es/m/17406-71e02820ae79bb40%40postgresql.orgDiscussion:https://postgr.es/m/d80e0a55-6c3e-5b26-53e3-3c4f973f737c%40enterprisedb.com1 parent46d9bfb commit7e74aaf
2 files changed
+11
-9
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
232 |
| - | |
233 |
| - | |
234 | 232 |
| |
235 |
| - | |
236 | 233 |
| |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
237 | 239 |
| |
238 | 240 |
| |
239 | 241 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
193 |
| - | |
| 193 | + | |
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 |
| - | |
| 263 | + | |
264 | 264 |
| |
265 | 265 |
| |
266 | 266 |
| |
| |||
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 |
| - | |
| 295 | + | |
296 | 296 |
| |
297 | 297 |
| |
298 | 298 |
| |
| |||
618 | 618 |
| |
619 | 619 |
| |
620 | 620 |
| |
621 |
| - | |
| 621 | + | |
622 | 622 |
| |
623 | 623 |
| |
624 | 624 |
| |
| |||
724 | 724 |
| |
725 | 725 |
| |
726 | 726 |
| |
727 |
| - | |
| 727 | + | |
728 | 728 |
| |
729 | 729 |
| |
730 | 730 |
| |
|
0 commit comments
Comments
(0)