18 #ifndef PG_STATISTIC_H
19 #define PG_STATISTIC_H
22 #include "catalog/pg_statistic_d.h"
29 CATALOG(pg_statistic,2619,StatisticRelationId)
106 #ifdef CATALOG_VARLEN
127 #define STATISTIC_NUM_SLOTS 5
139 DECLARE_UNIQUE_INDEX_PKEY(pg_statistic_relid_att_inh_index, 2696, StatisticRelidAttnumInhIndexId, pg_statistic, btree(starelid oid_ops, staattnum int2_ops, stainherit bool_ops));
143 #ifdef EXPOSE_TO_CLIENT_CODE
188 #define STATISTIC_KIND_MCV 1
208 #define STATISTIC_KIND_HISTOGRAM 2
220 #define STATISTIC_KIND_CORRELATION 3
245 #define STATISTIC_KIND_MCELEM 4
259 #define STATISTIC_KIND_DECHIST 5
271 #define STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM 6
282 #define STATISTIC_KIND_BOUNDS_HISTOGRAM 7
#define BKI_LOOKUP(catalog)
#define BKI_LOOKUP_OPT(catalog)
DECLARE_FOREIGN_KEY((starelid, staattnum), pg_attribute,(attrelid, attnum))
DECLARE_UNIQUE_INDEX_PKEY(pg_statistic_relid_att_inh_index, 2696, StatisticRelidAttnumInhIndexId, pg_statistic, btree(starelid oid_ops, staattnum int2_ops, stainherit bool_ops))
CATALOG(pg_statistic, 2619, StatisticRelationId)
DECLARE_TOAST(pg_statistic, 2840, 2841)
FormData_pg_statistic * Form_pg_statistic