forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit29d6808
committed
CREATE INDEX: do update index stats if autovacuum=off.
This fixes a thinko from commitd611f8b. The intent was to preventupdating the stats of the pre-existing heap if autovacuum is off,but it also disabled updating the stats of the just-created index.There is AFAICS no good reason to do the latter, since there could notbe any pre-existing stats to refrain from overwriting, and the zeroedstats that are there to begin with are very unlikely to be useful.Moreover, the change broke our cross-version upgrade tests again.Author: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/1116282.1741374848@sss.pgh.pa.us1 parentf7c566a commit29d6808
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2847 | 2847 |
| |
2848 | 2848 |
| |
2849 | 2849 |
| |
2850 |
| - | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
2851 | 2853 |
| |
2852 |
| - | |
2853 |
| - | |
2854 |
| - | |
| 2854 | + | |
2855 | 2855 |
| |
2856 | 2856 |
| |
2857 | 2857 |
| |
2858 | 2858 |
| |
2859 | 2859 |
| |
2860 | 2860 |
| |
| 2861 | + | |
| 2862 | + | |
2861 | 2863 |
| |
2862 |
| - | |
2863 |
| - | |
2864 | 2864 |
| |
2865 | 2865 |
| |
2866 | 2866 |
| |
|
0 commit comments
Comments
(0)