diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-04-06 12:27:15 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-04-06 12:28:50 -0300 |
commit | b1fc51a36ecdf854be9e41ffb99953c40ef96ccf (patch) | |
tree | a0ca63f53d93cfb85baf55ec2ec8e898b68e584f /src/include | |
parent | dc0400cc501ebe839c15a387911945d1585e4787 (diff) |
Comment fixes for extended statistics
Clean up some code comments in new extended statistics code, from
7b504eb282.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/nodes/relation.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h index fc53eb171aa..6bad18e77c7 100644 --- a/src/include/nodes/relation.h +++ b/src/include/nodes/relation.h @@ -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; |