- Notifications
You must be signed in to change notification settings - Fork5
Commitf0c9397
committed
First steps towards statistics on expressional (nee functional) indexes.
This commit teaches ANALYZE to store such stats in pg_statistic, butnothing is done yet about teaching the planner to use 'em.Also, repair longstanding oversight in separate ANALYZE command: itupdated the pg_class.relpages and reltuples counts for the table proper,but not for indexes.1 parent4b8f125 commitf0c9397
File tree
7 files changed
+374
-38
lines changed- doc/src/sgml
- src
- backend
- catalog
- commands
- include
- catalog
- commands
7 files changed
+374
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
3068 | 3068 | | |
3069 | 3069 | | |
3070 | 3070 | | |
3071 | | - | |
3072 | | - | |
| 3071 | + | |
| 3072 | + | |
3073 | 3073 | | |
3074 | 3074 | | |
3075 | 3075 | | |
3076 | 3076 | | |
3077 | 3077 | | |
3078 | 3078 | | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
3079 | 3088 | | |
3080 | 3089 | | |
3081 | 3090 | | |
3082 | 3091 | | |
3083 | 3092 | | |
3084 | 3093 | | |
3085 | | - | |
3086 | | - | |
| 3094 | + | |
| 3095 | + | |
3087 | 3096 | | |
3088 | 3097 | | |
3089 | 3098 | | |
| |||
3117 | 3126 | | |
3118 | 3127 | | |
3119 | 3128 | | |
3120 | | - | |
| 3129 | + | |
3121 | 3130 | | |
3122 | 3131 | | |
3123 | 3132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
1868 | 1867 | | |
1869 | 1868 | | |
1870 | 1869 | | |
1871 | | - | |
| 1870 | + | |
1872 | 1871 | | |
1873 | 1872 | | |
1874 | 1873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
753 | 754 | | |
754 | 755 | | |
755 | 756 | | |
| 757 | + | |
756 | 758 | | |
757 | 759 | | |
758 | 760 | | |
| |||
786 | 788 | | |
787 | 789 | | |
788 | 790 | | |
789 | | - | |
| 791 | + | |
790 | 792 | | |
791 | 793 | | |
792 | 794 | | |
| |||
796 | 798 | | |
797 | 799 | | |
798 | 800 | | |
| 801 | + | |
| 802 | + | |
799 | 803 | | |
800 | 804 | | |
801 | 805 | | |
802 | 806 | | |
803 | 807 | | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
804 | 815 | | |
805 | 816 | | |
806 | 817 | | |
| |||
0 commit comments
Comments
(0)