private function rollback() { if ($this->_in_trx === false) { throw new Ruckusing_Exception('Transaction not started', Ruckusing_Exception::QUERY_ERROR); } pg_query($this->conn, "ROLLBACK"); $this->_in_trx = false; }