↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

System Catalogs / System catalogs

pg_statistic_ext_data

Read the PG 18 manual

The catalog pg_statistic_ext_data holds data for extended planner statistics defined in pg_statistic_ext.

Reading PG 18current·documented in 9 of 24 versions, 12 to 20

Kind
System catalogs
Columns in this snapshot
6
Definition source
English manual
Metadata snapshot
18.6

Columns 6

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
stxoidoidNOT NULLExtended statistics object containing the definition for this data
pg_statistic_ext.oid
stxdinheritboolNOT NULLIf true, the stats include values from child tables, not just the values in the specified relation
stxdndistinctpg_ndistinctN-distinct counts, serialized as pg_ndistinct type
stxddependenciespg_dependenciesFunctional dependency statistics, serialized as pg_dependencies type
stxdmcvpg_mcv_listMCV (most-common values) list statistics, serialized as pg_mcv_list type
stxdexprpg_statistic[]Per-expression statistics, serialized as an array of pg_statistic type
Column history across versions
Version history 3
  1. 14 → 15 changed
  2. 13 → 14 changed
  3. 11 → 12 added

Definition snapshot: english-manuals:b9fdfa8534cfb1f93e648d112f7… · English manual source