The pg_statistic_ext catalog provides information about extended statistics definitions.
| Column name | Data type | Description |
|---|---|---|
oid |
oid |
A row identifier. |
stxrelid |
oid (references pg_class.oid) |
The table containing the columns described by this statistics object. |
stxname |
name |
The name of the statistics object. |
stxnamespace |
oid (references pg_namespace.oid) |
The OID of the namespace that contains this statistics object. |
stxowner |
oid (references pg_authid.oid) |
The owner of the statistics object. |
stxkeys |
int2vector (references pg_attribute.attnum) |
The array of attribute numbers indicating which table columns are covered by the statistics object. For example, 1 3 covers the first and third table columns. |
stxstattarget |
int2 |
Controls the level of detail collected by ANALYZE.The possible values are:
|
stxkind |
char[] |
The array of enabled statistics kinds. The possible values are:
|
stxexprs |
pg_node_tree |
Expression trees, represented in the nodeToString() form, are included for statistics attributes that are not direct column references, with one entry per expression.NULL – All attributes refer to simple columns. |