# File lib/dbd/pg/database.rb, line 85 85: def disconnect 86: if not @attr['AutoCommit'] and @in_transaction 87: _exec("ROLLBACK") # rollback outstanding transactions 88: end 89: @connection.close 90: end