~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/pgmassacre.py

  • Committer: William Grant
  • Date: 2012-01-01 03:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031025-pcl0na3sbgfrztcw
utilities

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
(but do nothing that could put the system into recovery mode).
14
14
"""
15
15
 
 
16
from optparse import OptionParser
16
17
import sys
17
18
import time
 
19
 
18
20
import psycopg2
19
21
import psycopg2.extensions
20
 
from optparse import OptionParser
21
22
 
22
23
 
23
24
def connect(dbname='template1'):