Namespaces | Variables
drop_table.py File Reference

Go to the source code of this file.

Namespaces

 drop_table
 

Variables

string drop_table.Usage
 
 drop_table.host = None
 
 drop_table.port = None
 
 drop_table.user = None
 
 drop_table.password = None
 
 drop_table.detector = None
 
list drop_table.dbcon = []
 
 drop_table.opts
 
 drop_table.args
 
 drop_table.tname = args[1]
 
 drop_table.conn = psycopg2.connect("dbname=nova_dev host=ifdbdev.fnal.gov port=5433")
 
 drop_table.cur = conn.cursor()
 
string drop_table.SQL = "drop table %s.%s_tag_snapshot; drop table %s.%s_tag cascade; drop table %s.%s_snapshot_data; drop table %s.%s_update; drop table %s.%s_snapshot cascade;"