equal
deleted
inserted
replaced
1 #!/usr/bin/env python3.2 |
1 #!/usr/bin/env python3.2 |
2 |
2 |
3 from pgtoolkit import pgstats, toolbase |
3 from pgtoolkit import pgstats, toolbase |
4 from pgtoolkit.highlight import highlight, YELLOW, BOLD |
4 from pycolib.ansicolor import highlight, YELLOW, BOLD |
5 |
5 |
6 |
6 |
7 class LongQueriesTool(toolbase.SimpleTool): |
7 class LongQueriesTool(toolbase.SimpleTool): |
8 def __init__(self): |
8 def __init__(self): |
9 toolbase.SimpleTool.__init__(self, name='longqueries', desc='List long queries.') |
9 toolbase.SimpleTool.__init__(self, name='longqueries', desc='List long queries.') |