forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1bbd608
committed
Split handling of reloptions for partitioned tables
Partitioned tables do not have relation options yet, but, similarly towhat's done for views which have their own parsing table, it could makesense to introduce new parameters for some of the existing default oneslike fillfactor, autovacuum, etc. Splitting things has the advantage tomake the information stored in rd_options include only the necessaryinformation, reducing the amount of memory used for a relcache entrywith partitioned tables if new reloptions are introduced at this level.Author: Nikolay ShaplovReviewed-by: Amit Langote, Michael PaquierDiscussion:https://postgr.es/m/1627387.Qykg9O6zpu@x200m1 parent80ef34f commit1bbd608
File tree
3 files changed
+33
-9
lines changed- src
- backend
- access/common
- commands
- include/access
3 files changed
+33
-9
lines changedLines changed: 18 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1099 | 1099 |
| |
1100 | 1100 |
| |
1101 | 1101 |
| |
1102 |
| - | |
1103 | 1102 |
| |
1104 | 1103 |
| |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1105 | 1107 |
| |
1106 | 1108 |
| |
1107 | 1109 |
| |
| |||
1571 | 1573 |
| |
1572 | 1574 |
| |
1573 | 1575 |
| |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
1574 | 1591 |
| |
1575 | 1592 |
| |
1576 | 1593 |
| |
| |||
1614 | 1631 |
| |
1615 | 1632 |
| |
1616 | 1633 |
| |
1617 |
| - | |
1618 |
| - | |
1619 |
| - | |
1620 | 1634 |
| |
1621 | 1635 |
| |
1622 | 1636 |
| |
|
Lines changed: 14 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
719 | 719 |
| |
720 | 720 |
| |
721 | 721 |
| |
722 |
| - | |
723 |
| - | |
724 |
| - | |
725 |
| - | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
726 | 733 |
| |
727 | 734 |
| |
728 | 735 |
| |
| |||
12187 | 12194 |
| |
12188 | 12195 |
| |
12189 | 12196 |
| |
12190 |
| - | |
12191 | 12197 |
| |
12192 | 12198 |
| |
| 12199 | + | |
| 12200 | + | |
| 12201 | + | |
12193 | 12202 |
| |
12194 | 12203 |
| |
12195 | 12204 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
306 | 306 |
| |
307 | 307 |
| |
308 | 308 |
| |
| 309 | + | |
309 | 310 |
| |
310 | 311 |
| |
311 | 312 |
| |
|
0 commit comments
Comments
(0)