forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite16db75
committed
Improve subscriber's error message for wrong publication relkind.
Pre-v13 versions only support logical replication from plain tables,while v13 and later also allow partitioned tables to be published.If you tried to subscribe an older server to such a publication,you got "table XXX not found on publisher", which is prettyunhelpful/confusing. Arrange to deliver a more on-point errormessage. As commitc314c14 did in v13, remove the relkind checkfrom the query WHERE clause altogether, so that "not there"is distinguishable from "wrong relkind".Per report from Radoslav Nedyalkov. Patch v10-v12.Discussion:https://postgr.es/m/2952568.1644876730@sss.pgh.pa.us1 parentce349cf commite16db75
1 file changed
+17
-4
lines changedLines changed: 17 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
646 | 646 |
| |
647 | 647 |
| |
648 | 648 |
| |
649 |
| - | |
| 649 | + | |
650 | 650 |
| |
651 | 651 |
| |
| 652 | + | |
652 | 653 |
| |
653 | 654 |
| |
654 | 655 |
| |
655 | 656 |
| |
656 | 657 |
| |
657 | 658 |
| |
658 | 659 |
| |
659 |
| - | |
| 660 | + | |
660 | 661 |
| |
661 | 662 |
| |
662 | 663 |
| |
663 | 664 |
| |
664 |
| - | |
665 |
| - | |
| 665 | + | |
666 | 666 |
| |
667 | 667 |
| |
668 | 668 |
| |
| |||
683 | 683 |
| |
684 | 684 |
| |
685 | 685 |
| |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
686 | 699 |
| |
687 | 700 |
| |
688 | 701 |
| |
|
0 commit comments
Comments
(0)