pike.git / lib / modules / Sql.pmod / pgsql.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1276: Inside #if defined(PG_DEBUG)
  #ifdef PG_DEBUG    showportal(0);   #endif    portal->_purgeportal();    }    destruct(waitforauthready);    termlock=0;    if(err && !stringp(err))    throw(err);    }; -  unnamedstatement=0; +  catch { +  unnamedstatement = 0;    termlock = 0; -  +  };    if (err) {    PD("Terminating processloop due to %s\n", describe_backtrace(err));    } -  _connectfail(err); +  catch(_connectfail(err));   }      //! Closes the connection to the database, any running queries are   //! terminated instantly.   //!   //! @note   //! This function is PostgreSQL-specific, and thus it is not available   //! through the generic SQL-interface.   /*semi*/final void close() {    throwdelayederror(this);