mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that Materialized view size fields in Statistics should be human-readable. #6712
This commit is contained in:
@@ -40,6 +40,7 @@ define('pgadmin.node.mview', [
|
||||
type: 'coll-mview',
|
||||
columns: ['name', 'owner', 'comment'],
|
||||
hasStatistics: true,
|
||||
statsPrettifyFields: [gettext('Total Size')],
|
||||
canDrop: schemaChildTreeNode.isTreeItemOfChildOfSchema,
|
||||
canDropCascade: schemaChildTreeNode.isTreeItemOfChildOfSchema,
|
||||
});
|
||||
@@ -66,6 +67,9 @@ define('pgadmin.node.mview', [
|
||||
hasSQL: true,
|
||||
hasDepends: true,
|
||||
hasStatistics: true,
|
||||
statsPrettifyFields: [gettext('Total Size'), gettext('Indexes size'), gettext('Table size'),
|
||||
gettext('TOAST table size'), gettext('Tuple length'),
|
||||
gettext('Dead tuple length'), gettext('Free space')],
|
||||
hasScriptTypes: ['create', 'select'],
|
||||
collection_type: 'coll-mview',
|
||||
width: pgBrowser.stdW.md + 'px',
|
||||
|
||||
Reference in New Issue
Block a user