1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-03 09:13:20 +03:00

Comment fixes for extended statistics

Clean up some code comments in new extended statistics code, from
7b504eb282.
This commit is contained in:
Alvaro Herrera
2017-04-06 12:27:15 -03:00
parent dc0400cc50
commit b1fc51a36e
5 changed files with 15 additions and 11 deletions

View File

@@ -693,17 +693,15 @@ typedef struct ForeignKeyOptInfo
* StatisticExtInfo
* Information about extended statistics for planning/optimization
*
* This contains information about which columns are covered by the
* statistics (stakeys), which options were requested while adding the
* statistics (*_enabled), and which kinds of statistics were actually
* built and are available for the optimizer (*_built).
* Each pg_statistic_ext row is represented by one or more nodes of this
* type, or even zero if ANALYZE has not computed them.
*/
typedef struct StatisticExtInfo
{
NodeTag type;
Oid statOid; /* OID of the statistics row */
RelOptInfo *rel; /* back-link to index's table */
RelOptInfo *rel; /* back-link to statistic's table */
char kind; /* statistic kind of this entry */
Bitmapset *keys; /* attnums of the columns covered */
} StatisticExtInfo;