mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-19 01:15:04 -05:00
1) Added new columns in pg_stats table.
2) Updated release note.
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
SELECT
|
||||
null_frac AS {{ conn|qtIdent(_('Null fraction')) }},
|
||||
avg_width AS {{ conn|qtIdent(_('Average width')) }},
|
||||
n_distinct AS {{ conn|qtIdent(_('Distinct values')) }},
|
||||
most_common_vals AS {{ conn|qtIdent(_('Most common values')) }},
|
||||
most_common_freqs AS {{ conn|qtIdent(_('Most common frequencies')) }},
|
||||
histogram_bounds AS {{ conn|qtIdent(_('Histogram bounds')) }},
|
||||
correlation AS {{ conn|qtIdent(_('Correlation')) }},
|
||||
most_common_elems AS {{ conn|qtIdent(_('Most common elements')) }},
|
||||
most_common_elem_freqs AS {{ conn|qtIdent(_('Most common elements frequencies')) }},
|
||||
elem_count_histogram AS {{ conn|qtIdent(_('Histogram element count')) }},
|
||||
range_length_histogram AS {{ conn|qtIdent(_('Histogram range values')) }},
|
||||
range_empty_frac AS {{ conn|qtIdent(_('Empty fraction range')) }},
|
||||
range_bounds_histogram AS {{ conn|qtIdent(_('Histogram bounds range')) }}
|
||||
FROM
|
||||
pg_catalog.pg_stats
|
||||
WHERE
|
||||
schemaname = {{schema|qtLiteral(conn)}}
|
||||
AND tablename = {{table|qtLiteral(conn)}}
|
||||
AND attname = {{column|qtLiteral(conn)}};
|
||||
+4
-1
@@ -5,7 +5,10 @@ SELECT
|
||||
most_common_vals AS {{ conn|qtIdent(_('Most common values')) }},
|
||||
most_common_freqs AS {{ conn|qtIdent(_('Most common frequencies')) }},
|
||||
histogram_bounds AS {{ conn|qtIdent(_('Histogram bounds')) }},
|
||||
correlation AS {{ conn|qtIdent(_('Correlation')) }}
|
||||
correlation AS {{ conn|qtIdent(_('Correlation')) }},
|
||||
most_common_elems AS {{ conn|qtIdent(_('Most common elements')) }},
|
||||
most_common_elem_freqs AS {{ conn|qtIdent(_('Most common elements frequencies')) }},
|
||||
elem_count_histogram AS {{ conn|qtIdent(_('Histogram element count')) }}
|
||||
FROM
|
||||
pg_catalog.pg_stats
|
||||
WHERE
|
||||
|
||||
Reference in New Issue
Block a user