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

Amit Kapila
Avoid calls to RelationGetRelationName() and RelationGetNamespace() in
vacuum code.After commitb61d161, during vacuum, we cache the information ofrelation name and relation namespace in local structure LVRelStats so thatwe can use it in an error callback function. We can use the cachedinformation to avoid the calls to RelationGetRelationName(),RelationGetNamespace() and get_namespace_name(). This is mainly for theconsistent in vacuum code path but it will avoid the extra syscache lookupwe do in get_namespace_name().Author: Justin PryzbyReviewed-by: Amit KapilaDiscussion:https://www.postgresql.org/message-id/20191120210600.GC30362@telsasoft.com1 parentf01157e commitef75140
1 file changed
+10
-10
lines changedLines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
636 | 636 |
| |
637 | 637 |
| |
638 | 638 |
| |
639 |
| - | |
640 |
| - | |
| 639 | + | |
| 640 | + | |
641 | 641 |
| |
642 | 642 |
| |
643 | 643 |
| |
| |||
808 | 808 |
| |
809 | 809 |
| |
810 | 810 |
| |
811 |
| - | |
| 811 | + | |
812 | 812 |
| |
813 | 813 |
| |
814 | 814 |
| |
| |||
1693 | 1693 |
| |
1694 | 1694 |
| |
1695 | 1695 |
| |
1696 |
| - | |
| 1696 | + | |
1697 | 1697 |
| |
1698 | 1698 |
| |
1699 | 1699 |
| |
| |||
1722 | 1722 |
| |
1723 | 1723 |
| |
1724 | 1724 |
| |
1725 |
| - | |
| 1725 | + | |
1726 | 1726 |
| |
1727 | 1727 |
| |
1728 | 1728 |
| |
| |||
1854 | 1854 |
| |
1855 | 1855 |
| |
1856 | 1856 |
| |
1857 |
| - | |
| 1857 | + | |
1858 | 1858 |
| |
1859 | 1859 |
| |
1860 | 1860 |
| |
| |||
2402 | 2402 |
| |
2403 | 2403 |
| |
2404 | 2404 |
| |
2405 |
| - | |
| 2405 | + | |
2406 | 2406 |
| |
2407 | 2407 |
| |
2408 | 2408 |
| |
| |||
2565 | 2565 |
| |
2566 | 2566 |
| |
2567 | 2567 |
| |
2568 |
| - | |
| 2568 | + | |
2569 | 2569 |
| |
2570 | 2570 |
| |
2571 | 2571 |
| |
| |||
2631 | 2631 |
| |
2632 | 2632 |
| |
2633 | 2633 |
| |
2634 |
| - | |
| 2634 | + | |
2635 | 2635 |
| |
2636 | 2636 |
| |
2637 | 2637 |
| |
| |||
2696 | 2696 |
| |
2697 | 2697 |
| |
2698 | 2698 |
| |
2699 |
| - | |
| 2699 | + | |
2700 | 2700 |
| |
2701 | 2701 |
| |
2702 | 2702 |
| |
|
0 commit comments
Comments
(0)