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, on pg_statistic
using btree(starelid oid_ops, staattnum int2_ops, stainherit bool_ops));
143 #ifdef EXPOSE_TO_CLIENT_CODE
185 #define STATISTIC_KIND_MCV 1
205 #define STATISTIC_KIND_HISTOGRAM 2
217 #define STATISTIC_KIND_CORRELATION 3
242 #define STATISTIC_KIND_MCELEM 4
256 #define STATISTIC_KIND_DECHIST 5
267 #define STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM 6
278 #define STATISTIC_KIND_BOUNDS_HISTOGRAM 7
#define BKI_LOOKUP(catalog)
#define BKI_LOOKUP_OPT(catalog)
DECLARE_FOREIGN_KEY((starelid, staattnum), pg_attribute,(attrelid, attnum))
CATALOG(pg_statistic, 2619, StatisticRelationId)
DECLARE_TOAST(pg_statistic, 2840, 2841)
DECLARE_UNIQUE_INDEX_PKEY(pg_statistic_relid_att_inh_index, 2696, StatisticRelidAttnumInhIndexId, on pg_statistic using btree(starelid oid_ops, staattnum int2_ops, stainherit bool_ops))
FormData_pg_statistic * Form_pg_statistic