changeset 9 | 2fcc8ef0b97d |
parent 7 | 685b20d2d3ab |
child 27 | 5fb4883604d6 |
8:2911935c524d | 9:2fcc8ef0b97d |
---|---|
1 #!/usr/bin/env python3.2 |
1 #!/usr/bin/env python3.2 |
2 |
2 |
3 from tools import pgstats, toolbase |
3 from pgtoolkit import pgstats, toolbase |
4 |
4 |
5 |
5 |
6 class LongQueriesTool(toolbase.SimpleTool): |
6 class LongQueriesTool(toolbase.SimpleTool): |
7 def __init__(self): |
7 def __init__(self): |
8 toolbase.SimpleTool.__init__(self, name='longqueries', desc='List long queries.') |
8 toolbase.SimpleTool.__init__(self, name='longqueries', desc='List long queries.') |