diff options
| author | Michael Paquier | 2025-12-25 06:13:39 +0000 |
|---|---|---|
| committer | Michael Paquier | 2025-12-25 06:13:39 +0000 |
| commit | 213a1b89527049cb27bbcd6871fdb0c0916b43e1 (patch) | |
| tree | 19c3d9b0e4c8df7dec36f814a8cf3e97dd0ba39f /src/backend/optimizer/path/Makefile | |
| parent | 325808cac9b379869099f47fe4f8198ddd7805c0 (diff) | |
Many of the operations done for attribute stats in attribute_stats.c
share the same logic as extended stats, as done by a patch under
discussion to add support for extended stats import and export. All the
pieces necessary for extended statistics are moved to stats_utils.c,
which is the file where common facilities are shared for stats files.
The following renames are done:
* get_attr_stat_type() -> statatt_get_type()
* init_empty_stats_tuple() -> statatt_init_empty_tuple()
* set_stats_slot() -> statatt_set_slot()
* get_elem_stat_type() -> statatt_get_elem_type()
While on it, this commit adds more documentation for all these
functions, describing more their internals and the dependencies that
have been implied for attribute statistics. The same concepts apply to
extended statistics, at some degree.
Author: Corey Huinker <[email protected]>
Reviewed-by: Chao Li <[email protected]>
Reviewed-by: Yu Wang <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/CADkLM=dpz3KFnqP-dgJ-zvRvtjsa8UZv8wDAQdqho=qN3kX0Zg@mail.gmail.com
Diffstat (limited to 'src/backend/optimizer/path/Makefile')
0 files changed, 0 insertions, 0 deletions
