|
|
◆ range_compute_stats()
| void range_compute_stats |
( |
VacAttrStats * |
stats, |
|
|
int |
non_null_cnt, |
|
|
int * |
slot_idx, |
|
|
RangeBound * |
lowers, |
|
|
RangeBound * |
uppers, |
|
|
float8 * |
lengths, |
|
|
TypeCacheEntry * |
typcache, |
|
|
Oid |
rangetypid |
|
) |
| |
Compute statistics for the value dimension (that is ranges) for temporal numbers.
- Parameters
-
| [in] | stats | Structure storing statistics information |
| [in] | non_null_cnt | Number of rows that are not null |
| [in] | slot_idx | Index of the slot where the statistics collected are stored |
| [in] | lowers,uppers | Arrays of range bounds |
| [in] | lengths | Arrays of range lengths |
| [in] | typcache | Information about the range stored in the cache |
| [in] | rangetypid | Oid of the range type |
- Note
- Function derived from compute_range_stats of file rangetypes_typanalyze.c
|