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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1176:    }    PD("Closing database processloop %O\n",err);    _delayederror=err;    for(;objectp(portal);portal=qportals->read())    if(objectp(portal)) {   #ifdef PG_DEBUG    showportal(0);   #endif    portal->_purgeportal();    } -  c=ci=0; +     if(!terminating && _options.reconnect)    _connectfail();    else    destruct(waitforauthready);    termlock=0;    if(err && !stringp(err))    throw(err);   }      //! Closes the connection to the database, any running queries are