forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8a13d5e
committed
Fix infer_arbiter_indexes() to not barf on system columns.
While it could be argued that rejecting system column mentions in theON CONFLICT list is an unsupported feature, falling over altogetherjust because the table has a unique index on OID is indubitably a bug.As far as I can tell, fixing infer_arbiter_indexes() is sufficient tomake ON CONFLICT (oid) actually work, though making a regression testfor that case is problematic because of the impossibility of settingthe OID counter to a known value.Minor cosmetic cleanups along with the bug fix.1 parent26e6618 commit8a13d5e
1 file changed
+16
-27
lines changedLines changed: 16 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
558 | 558 |
| |
559 | 559 |
| |
560 | 560 |
| |
561 |
| - | |
562 |
| - | |
| 561 | + | |
| 562 | + | |
563 | 563 |
| |
564 | 564 |
| |
565 | 565 |
| |
566 |
| - | |
| 566 | + | |
567 | 567 |
| |
568 | 568 |
| |
569 | 569 |
| |
570 |
| - | |
571 |
| - | |
572 |
| - | |
573 |
| - | |
574 |
| - | |
575 |
| - | |
576 |
| - | |
577 |
| - | |
578 |
| - | |
579 | 570 |
| |
580 | 571 |
| |
| 572 | + | |
581 | 573 |
| |
582 | 574 |
| |
583 | 575 |
| |
584 | 576 |
| |
585 | 577 |
| |
586 | 578 |
| |
587 | 579 |
| |
588 |
| - | |
| 580 | + | |
589 | 581 |
| |
590 |
| - | |
591 |
| - | |
592 |
| - | |
593 |
| - | |
| 582 | + | |
| 583 | + | |
594 | 584 |
| |
595 |
| - | |
| 585 | + | |
| 586 | + | |
596 | 587 |
| |
597 | 588 |
| |
598 | 589 |
| |
| |||
609 | 600 |
| |
610 | 601 |
| |
611 | 602 |
| |
612 |
| - | |
613 |
| - | |
614 | 603 |
| |
615 | 604 |
| |
616 | 605 |
| |
617 | 606 |
| |
| 607 | + | |
| 608 | + | |
618 | 609 |
| |
619 | 610 |
| |
620 | 611 |
| |
621 | 612 |
| |
622 | 613 |
| |
623 |
| - | |
| 614 | + | |
624 | 615 |
| |
625 | 616 |
| |
626 | 617 |
| |
| |||
679 | 670 |
| |
680 | 671 |
| |
681 | 672 |
| |
682 |
| - | |
| 673 | + | |
| 674 | + | |
683 | 675 |
| |
684 | 676 |
| |
685 | 677 |
| |
686 | 678 |
| |
687 |
| - | |
688 |
| - | |
689 |
| - | |
690 |
| - | |
691 | 679 |
| |
692 |
| - | |
| 680 | + | |
| 681 | + | |
693 | 682 |
| |
694 | 683 |
| |
695 | 684 |
| |
|
0 commit comments
Comments
(0)