pike.git/lib/modules/Sql.pmod/pgsql.pike:649:
if(!portal) {
portal=qportals->try_read();
#ifdef PG_DEBUG
showportal(msgtype);
#endif
}
int msglen=cr->read_int32();
_msgsreceived++;
_bytesreceived+=1+msglen;
int errtype=NOERROR;
- PD("%d>",ci->socket->query_fd());
+ PD("%d<",ci->socket->query_fd());
switch(msgtype) {
array(mapping) getcols() {
int bintext=cr->read_int8();
int cols=cr->read_int16();
#ifdef PG_DEBUG
array a;
msglen-=4+1+2+2*cols;
foreach(a=allocate(cols,([]));;mapping m)
m.type=cr->read_int16();
#else
pike.git/lib/modules/Sql.pmod/pgsql.pike:838: Inside #if defined(PG_DEBUG)
PD("%O ParameterDescription %d values\n",portal._query,cols);
msglen-=4+2+4*cols;
#endif
foreach(a=allocate(cols);int i;)
a[i]=cr->read_int32();
#ifdef PG_DEBUGMORE
PD("%O\n",a);
#endif
if(portal._tprepared)
portal._tprepared.datatypeoid=a;
- callout(portal->_preparebind,0,a);
+ Thread.Thread(portal->_preparebind,a);
break;
}
case 'T': {
array a;
#ifdef PG_DEBUG
int cols=cr->read_int16();
PD("RowDescription %d columns %O\n",cols,portal._query);
msglen-=4+2;
foreach(a=allocate(cols);int i;)
#else