equal
deleted
inserted
replaced
1 #!/usr/bin/env python3 |
1 #!/usr/bin/env python3 |
2 # |
2 # |
3 # Call "NOTIFY notifyexample" on target DB to wake up this program. |
3 # Call "NOTIFY notifyexample" on target DB to wake up this program. |
4 # |
4 # |
5 |
5 |
6 from pgtoolkit import toolbase, pgmanager |
6 from pydbkit import toolbase, pgmanager |
7 |
7 |
8 |
8 |
9 class NotifyExample(toolbase.SimpleTool): |
9 class NotifyExample(toolbase.SimpleTool): |
10 def __init__(self): |
10 def __init__(self): |
11 toolbase.SimpleTool.__init__(self, name='notifyexample', desc='Sample program for listen/notify.') |
11 toolbase.SimpleTool.__init__(self, name='notifyexample', desc='Sample program for listen/notify.') |