addded pgdb.escape_string at some places in interface.py'