mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-04 12:36:44 -05:00
Disable function statistics on Greenplum. Fixes #3176
This commit is contained in:
1 parent
06ff05762e
commit
d1ab47c10c
4 files changed
+59
-3
No files matched your search
@@ -1,8 +1,10 @@
|
||||
define('misc.statistics', [
|
||||
'sources/gettext', 'underscore', 'underscore.string', 'jquery', 'backbone',
|
||||
'pgadmin.browser', 'pgadmin.backgrid', 'alertify', 'sources/size_prettify',
|
||||
'sources/misc/statistics/statistics',
|
||||
], function(
|
||||
gettext, _, S, $, Backbone, pgBrowser, Backgrid, Alertify, sizePrettify
|
||||
gettext, _, S, $, Backbone, pgBrowser, Backgrid, Alertify, sizePrettify,
|
||||
statisticsHelper
|
||||
) {
|
||||
|
||||
if (pgBrowser.NodeStatistics)
|
||||
@@ -208,7 +210,7 @@ define('misc.statistics', [
|
||||
// Cache the current IDs for next time
|
||||
$(panel[0]).data('node-prop', cache_flag);
|
||||
|
||||
if (node.hasStatistics) {
|
||||
if (statisticsHelper.nodeHasStatistics(node, item)) {
|
||||
msg = '';
|
||||
var timer;
|
||||
// Set the url, fetch the data and update the collection
|
||||
|
||||
Reference in new issue
Block a user