Disable function statistics on Greenplum. Fixes #3176

This commit is contained in:
Joao Pedro De Almeida Pereira
2018-03-07 11:52:02 +00:00
committed by Dave Page
parent 06ff05762e
commit d1ab47c10c
4 changed files with 59 additions and 3 deletions

View File

@@ -92,7 +92,9 @@ define('pgadmin.node.function', [
collection_type: 'coll-function',
hasSQL: true,
hasDepends: true,
hasStatistics: true,
hasStatistics: (treeInformation) => {
return treeInformation.server.server_type !== 'gpdb';
},
hasScriptTypes: ['create', 'select'],
parent_type: ['schema', 'catalog'],
Init: function() {