Content-Length: 277178 | pFad | http://github.com/postgrespro/postgres/commit/825c72c071969bede8e15846a89a3bfa5b1be66b
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bada39 commit 825c72cCopy full SHA for 825c72c
src/backend/catalog/index.c
@@ -2807,8 +2807,8 @@ index_update_stats(Relation rel,
2807
double reltuples)
2808
{
2809
bool update_stats;
2810
- BlockNumber relpages;
2811
- BlockNumber relallvisible;
+ BlockNumber relpages = 0; /* keep compiler quiet */
+ BlockNumber relallvisible = 0;
2812
Oid relid = RelationGetRelid(rel);
2813
Relation pg_class;
2814
ScanKeyData key[1];
@@ -2849,8 +2849,6 @@ index_update_stats(Relation rel,
2849
2850
if (rel->rd_rel->relkind != RELKIND_INDEX)
2851
visibilitymap_count(rel, &relallvisible, NULL);
2852
- else /* don't bother for indexes */
2853
- relallvisible = 0;
2854
}
2855
2856
/*
Fetched URL: http://github.com/postgrespro/postgres/commit/825c72c071969bede8e15846a89a3bfa5b1be66b
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments