|
◆ period_compute_stats1()
void period_compute_stats1 |
( |
VacAttrStats * |
stats, |
|
|
int |
non_null_cnt, |
|
|
int * |
slot_idx, |
|
|
PeriodBound * |
lowers, |
|
|
PeriodBound * |
uppers, |
|
|
float8 * |
lengths |
|
) |
| |
Compute statistics for period columns and for the time dimension of all temporal types whose subtype is not instant.
- 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 period bounds |
[in] | lengths | Arrays of period lengths |
|