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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1206:    PD("Unknown message received %c\n",msgtype);    s=cr->read(msglen-=4);PD("%O\n",s);   #ifdef PG_DEBUG    msglen=0;   #endif    errtype=PROTOCOLUNSUPPORTED;    } else {    lastmessage+=({    sprintf("Connection lost to database %s@%s:%d/%s %d\n",    user,_host,_port,database,backendpid)}); +  runcallback(backendpid, "_lost", "");    if(!waitforauthready)    throw(0);    USERERROR(a2nls(lastmessage));    }    break;    }   #ifdef PG_DEBUG    if(msglen)    errtype=PROTOCOLERROR;   #endif