forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit428484c
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 parent58d8024 commit428484c
1 file changed
+16
-27
lines changedLines changed: 16 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
465 | 465 |
| |
466 | 466 |
| |
467 | 467 |
| |
468 |
| - | |
469 |
| - | |
| 468 | + | |
| 469 | + | |
470 | 470 |
| |
471 | 471 |
| |
472 | 472 |
| |
473 |
| - | |
| 473 | + | |
474 | 474 |
| |
475 | 475 |
| |
476 | 476 |
| |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 | 477 |
| |
487 | 478 |
| |
| 479 | + | |
488 | 480 |
| |
489 | 481 |
| |
490 | 482 |
| |
491 | 483 |
| |
492 | 484 |
| |
493 | 485 |
| |
494 | 486 |
| |
495 |
| - | |
| 487 | + | |
496 | 488 |
| |
497 |
| - | |
498 |
| - | |
499 |
| - | |
500 |
| - | |
| 489 | + | |
| 490 | + | |
501 | 491 |
| |
502 |
| - | |
| 492 | + | |
| 493 | + | |
503 | 494 |
| |
504 | 495 |
| |
505 | 496 |
| |
| |||
516 | 507 |
| |
517 | 508 |
| |
518 | 509 |
| |
519 |
| - | |
520 |
| - | |
521 | 510 |
| |
522 | 511 |
| |
523 | 512 |
| |
524 | 513 |
| |
| 514 | + | |
| 515 | + | |
525 | 516 |
| |
526 | 517 |
| |
527 | 518 |
| |
528 | 519 |
| |
529 | 520 |
| |
530 |
| - | |
| 521 | + | |
531 | 522 |
| |
532 | 523 |
| |
533 | 524 |
| |
| |||
586 | 577 |
| |
587 | 578 |
| |
588 | 579 |
| |
589 |
| - | |
| 580 | + | |
| 581 | + | |
590 | 582 |
| |
591 | 583 |
| |
592 | 584 |
| |
593 | 585 |
| |
594 |
| - | |
595 |
| - | |
596 |
| - | |
597 |
| - | |
598 | 586 |
| |
599 |
| - | |
| 587 | + | |
| 588 | + | |
600 | 589 |
| |
601 | 590 |
| |
602 | 591 |
| |
|
0 commit comments
Comments
(0)