We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6cc078 commit d5078feCopy full SHA for d5078fe
mamonsu/plugins/pgsql/__init__.py
@@ -1,3 +1,5 @@
1
+import mamonsu.lib.platform as platform
2
+
3
__all__ = ['bgwriter', 'connections', 'databases']
4
__all__ += ['health', 'instance', 'xlog']
5
__all__ += ['pg_stat_statement', 'pg_buffercache', 'pg_wait_sampling']
@@ -6,6 +8,8 @@
6
8
__all__ += ['archive_command']
7
9
__all__ += ['prepared_transaction']
10
__all__ += ['relations_size']
-__all__ += ['memory_leak_diagnostic']
11
12
+if platform.LINUX:
13
+ __all__ += ['memory_leak_diagnostic']
14
15
from . import *
0 commit comments