forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7d30f59
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 parent26e0079 commit7d30f59
2 files changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
221 | 219 | | |
222 | | - | |
223 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
| |||
| 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)