- Notifications
You must be signed in to change notification settings - Fork5
Commitd77354e
committed
Fix up dumping conditions for extension configuration tables.
Various filters that were meant to prevent dumping of table data were notbeing applied to extension config tables, notably --exclude-table-data and--no-unlogged-table-data. We also would bogusly try to dump data fromviews, sequences, or foreign tables, should an extension try to claim theywere config tables. Fix all that, and refactor/redocument to try to makethis a bit less fragile. This reverts the implementation, though not thefeature, of commit7b070e8, which hadbroken config-table dumping altogether :-(.It is still the case that the code will dump config-table data even if--schema is specified. That behavior was intentional, as per the commentsin getExtensionMembership, so I think it requires some more discussionbefore we change it.1 parentcb7c84f commitd77354e
2 files changed
+42
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1140 | 1140 | | |
1141 | 1141 | | |
1142 | 1142 | | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
1152 | 1143 | | |
1153 | 1144 | | |
1154 | 1145 | | |
| |||
1599 | 1590 | | |
1600 | 1591 | | |
1601 | 1592 | | |
1602 | | - | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
1606 | 1593 | | |
1607 | 1594 | | |
1608 | 1595 | | |
| |||
1644 | 1631 | | |
1645 | 1632 | | |
1646 | 1633 | | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
1658 | | - | |
1659 | | - | |
1660 | | - | |
1661 | | - | |
| 1634 | + | |
1662 | 1635 | | |
1663 | 1636 | | |
1664 | 1637 | | |
1665 | 1638 | | |
1666 | 1639 | | |
1667 | 1640 | | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
1668 | 1644 | | |
1669 | 1645 | | |
1670 | 1646 | | |
1671 | 1647 | | |
1672 | 1648 | | |
1673 | 1649 | | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
1674 | 1678 | | |
1675 | 1679 | | |
1676 | 1680 | | |
| |||
14127 | 14131 | | |
14128 | 14132 | | |
14129 | 14133 | | |
14130 | | - | |
| 14134 | + | |
| 14135 | + | |
| 14136 | + | |
| 14137 | + | |
| 14138 | + | |
| 14139 | + | |
| 14140 | + | |
| 14141 | + | |
| 14142 | + | |
| 14143 | + | |
14131 | 14144 | | |
14132 | | - | |
14133 | | - | |
14134 | | - | |
14135 | | - | |
14136 | | - | |
14137 | | - | |
14138 | 14145 | | |
14139 | 14146 | | |
14140 | 14147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
0 commit comments
Comments
(0)