# File lib/dbd_pg/Pg.rb, line 116 def disconnect if not @attr['AutoCommit'] and @in_transaction _exec("ROLLBACK") # rollback outstanding transactions end @connection.close end