forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbab64ef
committed
Fix two problems in infer_arbiter_indexes().
The first is a pretty simple bug where a relcache entry is used afterthe relation is closed. In this particular situation it does not appearto have bad consequences unless compiled with RELCACHE_FORCE_RELEASE.The second is that infer_arbiter_indexes() skipped indexes that aren'tyet valid according to indcheckxmin. That's not required here, becauseuniqueness checks don't care about visibility according to an oldersnapshot. While thats not really a bug, it makes things undesirablynon-deterministic. There is some hope that this explains a test failureon buildfarm member jaguarundi.Discussion: 9096.1431102730@sss.pgh.pa.us1 parentde76884 commitbab64ef
1 file changed
+5
-7
lines changedLines changed: 5 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
550 |
| - | |
551 |
| - | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
552 | 554 |
| |
553 |
| - | |
554 |
| - | |
555 |
| - | |
556 |
| - | |
557 | 555 |
| |
558 | 556 |
| |
559 | 557 |
| |
| |||
566 | 564 |
| |
567 | 565 |
| |
568 | 566 |
| |
| 567 | + | |
569 | 568 |
| |
570 | 569 |
| |
571 | 570 |
| |
572 |
| - | |
573 | 571 |
| |
574 | 572 |
| |
575 | 573 |
| |
|
0 commit comments
Comments
(0)