12th September 2019: PostgreSQL 12 Beta 4 Released!
Development Versions: 12 / devel
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the supported versions listed above instead.

51.52. pg_statistic_ext_data

The catalog pg_statistic_ext_data holds data for extended planner statistics defined in pg_statistic_ext. Each row in this catalog corresponds to a statistics object created with CREATE STATISTICS.

Table 51.52. pg_statistic_ext_data Columns

Name Type References Description
stxoid oid pg_statistic_ext.oid Extended statistic containing the definition for this data.
stxdndistinct pg_ndistinct   N-distinct counts, serialized as pg_ndistinct type
stxddependencies pg_dependencies   Functional dependency statistics, serialized as pg_dependencies type
stxdmcv pg_mcv_list   MCV (most-common values) list statistics, serialized as pg_mcv_list type.