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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:859: Inside #if defined(PG_DEBUG)
   mapping(string:mixed) res=(["name":s]);   #ifdef PG_DEBUG    msglen-=sizeof(s)+1+4+2+4+2+4+2;    res.tableoid=cr->read_int32()||UNDEFINED;    res.tablecolattr=cr->read_int16()||UNDEFINED;   #else    cr->consume(6);   #endif    at[i]=cr->read_int32();   #ifdef PG_DEBUG +  res.type=at[i];    {    int len=cr->read_sint(2);    res.length=len>=0?len:"variable";    }    res.atttypmod=cr->read_int32();    /* formatcode contains just a zero when Bind has not been issued    * yet, but the content is irrelevant because it's determined    * at query time    */    res.formatcode=cr->read_int16();