pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql.pike:296:
//! @endint //! //! @seealso //! @[is_open()] int ping() { return is_open() && !catch(c->start()->sendcmd(FLUSHSEND)) ? !!reconnected : -1; } private .pgsql_util.conxion getsocket(void|int nossl) {
-
return .pgsql_util.conxion(this,qportals,(int)nossl
,_shortmux
);
+
return .pgsql_util.conxion(this,qportals,(int)nossl);
} //! Cancels all currently running queries in this session. //! //! @seealso //! @[reload()], @[resync()] //! //! @note //! This function is PostgreSQL-specific, and thus it is not available //! through the generic SQL-interface.
pike.git/lib/modules/Sql.pmod/pgsql.pike:991:
#endif portal->_processdataready(({ci->read(msglen)}),msglen); #ifdef PG_DEBUG msglen=0; #endif break; case 'G': portal->_setrowdesc(getcols()); PD("%O CopyInResponse\n",portal._portalname); portal._state=COPYINPROGRESS;
-
{
-
Thread.MutexKey resultlock=portal._resultmux->lock();
-
portal._newresult.signal();
-
resultlock=0;
-
}
+
break; case 'c': #ifdef PG_DEBUG PD("%O CopyDone\n",portal._portalname); msglen-=4; #endif portal=0; break; case 'E': { if(!_readyforquerycount)