forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0ff2028

Amit Kapila
Extend pg_publication_tables to display column list and row filter.
Commit923def9 and52e4f0c allowed to specify column lists and rowfilters for publication tables. This commit extends thepg_publication_tables view and pg_get_publication_tables function todisplay that information.This information will be useful to users and we also need this for thelater commit that prohibits combining multiple publications with differentcolumn lists for the same table.Author: Hou ZhijieReviewed By: Amit Kapila, Alvaro Herrera, Shi Yu, Takamichi OsumiDiscussion:https://postgr.es/m/202204251548.mudq7jbqnh7r@alvherre.pgsql1 parent62221ef commit0ff2028
File tree
8 files changed
+126
-44
lines changed- doc/src/sgml
- src
- backend
- catalog
- replication/logical
- include/catalog
- test/regress/expected
8 files changed
+126
-44
lines changedLines changed: 24 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9691 | 9691 |
| |
9692 | 9692 |
| |
9693 | 9693 |
| |
9694 |
| - | |
| 9694 | + | |
9695 | 9695 |
| |
9696 | 9696 |
| |
9697 | 9697 |
| |
| |||
11635 | 11635 |
| |
11636 | 11636 |
| |
11637 | 11637 |
| |
11638 |
| - | |
11639 |
| - | |
| 11638 | + | |
| 11639 | + | |
11640 | 11640 |
| |
11641 | 11641 |
| |
11642 | 11642 |
| |
| |||
11687 | 11687 |
| |
11688 | 11688 |
| |
11689 | 11689 |
| |
| 11690 | + | |
| 11691 | + | |
| 11692 | + | |
| 11693 | + | |
| 11694 | + | |
| 11695 | + | |
| 11696 | + | |
| 11697 | + | |
| 11698 | + | |
| 11699 | + | |
| 11700 | + | |
| 11701 | + | |
| 11702 | + | |
| 11703 | + | |
| 11704 | + | |
| 11705 | + | |
| 11706 | + | |
| 11707 | + | |
| 11708 | + | |
| 11709 | + | |
| 11710 | + | |
11690 | 11711 |
| |
11691 | 11712 |
| |
11692 | 11713 |
| |
|
Lines changed: 52 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1077 | 1077 |
| |
1078 | 1078 |
| |
1079 | 1079 |
| |
1080 |
| - | |
| 1080 | + | |
1081 | 1081 |
| |
1082 | 1082 |
| |
1083 | 1083 |
| |
1084 | 1084 |
| |
| 1085 | + | |
1085 | 1086 |
| |
1086 | 1087 |
| |
1087 | 1088 |
| |
| |||
1090 | 1091 |
| |
1091 | 1092 |
| |
1092 | 1093 |
| |
| 1094 | + | |
1093 | 1095 |
| |
1094 | 1096 |
| |
1095 | 1097 |
| |
| |||
1136 | 1138 |
| |
1137 | 1139 |
| |
1138 | 1140 |
| |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
1139 | 1151 |
| |
1140 | 1152 |
| |
1141 | 1153 |
| |
| |||
1147 | 1159 |
| |
1148 | 1160 |
| |
1149 | 1161 |
| |
| 1162 | + | |
| 1163 | + | |
1150 | 1164 |
| |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
1151 | 1201 |
| |
1152 |
| - | |
| 1202 | + | |
1153 | 1203 |
| |
1154 | 1204 |
| |
1155 | 1205 |
| |
|
Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
368 | 368 |
| |
369 | 369 |
| |
370 | 370 |
| |
371 |
| - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
372 | 380 |
| |
373 | 381 |
| |
374 | 382 |
| |
|
Lines changed: 4 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
795 | 795 |
| |
796 | 796 |
| |
797 | 797 |
| |
798 |
| - | |
799 |
| - | |
800 |
| - | |
801 |
| - | |
| 798 | + | |
802 | 799 |
| |
| 800 | + | |
803 | 801 |
| |
804 | 802 |
| |
805 | 803 |
| |
806 |
| - | |
807 | 804 |
| |
808 | 805 |
| |
809 | 806 |
| |
| |||
965 | 962 |
| |
966 | 963 |
| |
967 | 964 |
| |
968 |
| - | |
969 |
| - | |
970 |
| - | |
971 |
| - | |
| 965 | + | |
| 966 | + | |
972 | 967 |
| |
973 | 968 |
| |
974 | 969 |
| |
975 | 970 |
| |
976 |
| - | |
977 | 971 |
| |
978 | 972 |
| |
979 | 973 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11673 | 11673 |
| |
11674 | 11674 |
| |
11675 | 11675 |
| |
11676 |
| - | |
| 11676 | + | |
11677 | 11677 |
| |
11678 |
| - | |
11679 |
| - | |
11680 |
| - | |
| 11678 | + | |
| 11679 | + | |
| 11680 | + | |
11681 | 11681 |
| |
11682 | 11682 |
| |
11683 | 11683 |
| |
|
Lines changed: 21 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1585 | 1585 |
| |
1586 | 1586 |
| |
1587 | 1587 |
| |
1588 |
| - | |
1589 |
| - | |
1590 |
| - | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
1591 | 1591 |
| |
1592 | 1592 |
| |
1593 | 1593 |
| |
1594 | 1594 |
| |
1595 | 1595 |
| |
1596 | 1596 |
| |
1597 |
| - | |
1598 |
| - | |
1599 |
| - | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
1600 | 1600 |
| |
1601 | 1601 |
| |
1602 | 1602 |
| |
1603 | 1603 |
| |
1604 | 1604 |
| |
1605 |
| - | |
1606 |
| - | |
1607 |
| - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
1608 | 1608 |
| |
1609 | 1609 |
| |
1610 | 1610 |
| |
1611 | 1611 |
| |
1612 | 1612 |
| |
1613 | 1613 |
| |
1614 |
| - | |
1615 |
| - | |
1616 |
| - | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
1617 | 1617 |
| |
1618 | 1618 |
| |
1619 | 1619 |
| |
1620 | 1620 |
| |
1621 | 1621 |
| |
1622 | 1622 |
| |
1623 |
| - | |
1624 |
| - | |
1625 |
| - | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
1626 | 1626 |
| |
1627 | 1627 |
| |
1628 | 1628 |
| |
1629 | 1629 |
| |
1630 | 1630 |
| |
1631 |
| - | |
1632 |
| - | |
1633 |
| - | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
1634 | 1634 |
| |
1635 | 1635 |
| |
1636 | 1636 |
| |
| |||
1643 | 1643 |
| |
1644 | 1644 |
| |
1645 | 1645 |
| |
1646 |
| - | |
1647 |
| - | |
1648 |
| - | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
1649 | 1649 |
| |
1650 | 1650 |
| |
1651 | 1651 |
| |
|
Lines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1437 | 1437 |
| |
1438 | 1438 |
| |
1439 | 1439 |
| |
1440 |
| - | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
1441 | 1450 |
| |
1442 |
| - | |
| 1451 | + | |
1443 | 1452 |
| |
1444 | 1453 |
| |
1445 | 1454 |
| |
|
0 commit comments
Comments
(0)