forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc22ecc6
committed
Disable transforms that replaced AT TIME ZONE with RelabelType.
These resulted in wrong answers if the relabeled argument could be matchedto an index column, as shown in bug #14504 from Evgeniy Kozlov. We mightbe able to resurrect these optimizations by adjusting the planner'streatment of RelabelType, or by adjusting btree's rules for selectingcomparison functions, but either solution will take careful analysisand does not sound like a fit candidate for backpatching.I left the catalog infrastructure in place and just reduced the transformfunctions to always-return-NULL. This would be necessary anyway in theback branches, and it doesn't seem important to be more invasive in HEAD.Bug introduced by commitb8a18ad. Back-patch to 9.5 where that came in.Report:https://postgr.es/m/20170118144828.1432.52823@wrigleys.postgresql.orgDiscussion:https://postgr.es/m/18771.1484759439@sss.pgh.pa.us1 parente509e7f commitc22ecc6
File tree
3 files changed
+38
-113
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+38
-113
lines changedLines changed: 10 additions & 113 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5202 | 5202 |
| |
5203 | 5203 |
| |
5204 | 5204 |
| |
5205 |
| - | |
5206 |
| - | |
5207 |
| - | |
5208 |
| - | |
5209 |
| - | |
| 5205 | + | |
| 5206 | + | |
| 5207 | + | |
| 5208 | + | |
5210 | 5209 |
| |
5211 | 5210 |
| |
5212 | 5211 |
| |
5213 | 5212 |
| |
5214 |
| - | |
5215 |
| - | |
5216 |
| - | |
5217 |
| - | |
5218 |
| - | |
5219 |
| - | |
5220 |
| - | |
5221 |
| - | |
5222 |
| - | |
5223 |
| - | |
5224 |
| - | |
5225 |
| - | |
5226 |
| - | |
5227 |
| - | |
5228 |
| - | |
5229 |
| - | |
5230 |
| - | |
5231 |
| - | |
5232 |
| - | |
5233 |
| - | |
5234 |
| - | |
5235 |
| - | |
5236 |
| - | |
5237 |
| - | |
5238 |
| - | |
5239 |
| - | |
5240 |
| - | |
5241 |
| - | |
5242 |
| - | |
5243 |
| - | |
5244 |
| - | |
5245 |
| - | |
5246 |
| - | |
5247 |
| - | |
5248 |
| - | |
5249 |
| - | |
5250 |
| - | |
5251 |
| - | |
5252 |
| - | |
5253 |
| - | |
5254 |
| - | |
5255 |
| - | |
5256 |
| - | |
5257 |
| - | |
5258 |
| - | |
5259 |
| - | |
5260 |
| - | |
5261 |
| - | |
5262 |
| - | |
5263 |
| - | |
5264 |
| - | |
5265 |
| - | |
5266 |
| - | |
5267 |
| - | |
5268 |
| - | |
5269 |
| - | |
5270 |
| - | |
5271 |
| - | |
5272 |
| - | |
5273 |
| - | |
5274 |
| - | |
5275 |
| - | |
5276 |
| - | |
5277 |
| - | |
5278 |
| - | |
5279 |
| - | |
5280 |
| - | |
5281 |
| - | |
5282 |
| - | |
| 5213 | + | |
5283 | 5214 |
| |
5284 | 5215 |
| |
5285 | 5216 |
| |
| |||
5376 | 5307 |
| |
5377 | 5308 |
| |
5378 | 5309 |
| |
5379 |
| - | |
5380 |
| - | |
5381 |
| - | |
| 5310 | + | |
| 5311 | + | |
| 5312 | + | |
| 5313 | + | |
5382 | 5314 |
| |
5383 | 5315 |
| |
5384 | 5316 |
| |
5385 | 5317 |
| |
5386 |
| - | |
5387 |
| - | |
5388 |
| - | |
5389 |
| - | |
5390 |
| - | |
5391 |
| - | |
5392 |
| - | |
5393 |
| - | |
5394 |
| - | |
5395 |
| - | |
5396 |
| - | |
5397 |
| - | |
5398 |
| - | |
5399 |
| - | |
5400 |
| - | |
5401 |
| - | |
5402 |
| - | |
5403 |
| - | |
5404 |
| - | |
5405 |
| - | |
5406 |
| - | |
5407 |
| - | |
5408 |
| - | |
5409 |
| - | |
5410 |
| - | |
5411 |
| - | |
5412 |
| - | |
5413 |
| - | |
5414 |
| - | |
5415 |
| - | |
5416 |
| - | |
5417 |
| - | |
5418 |
| - | |
5419 |
| - | |
5420 |
| - | |
5421 |
| - | |
| 5318 | + | |
5422 | 5319 |
| |
5423 | 5320 |
| |
5424 | 5321 |
| |
|
Lines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2638 | 2638 |
| |
2639 | 2639 |
| |
2640 | 2640 |
| |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + |
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
484 | 484 |
| |
485 | 485 |
| |
486 | 486 |
| |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + |
0 commit comments
Comments
(0)