pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-11-14
2014-11-14 01:24:14 by Stephen R. van den Berg <srb@cuci.nl>
0d1a5e60a6fc26a142b05f87b4551fd9a7410a6e (
15
lines) (+
15
/-
0
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Improve backtrace clarity of PGassist.
353:
pgsqlsess->_connectfail(err); }
+
private string _sprintf(int type, void|mapping flags) {
+
string res=UNDEFINED;
+
switch(type) {
+
case 'O':
+
res=predef::sprintf("PGassist fd: %d input queue: %d/%d "
+
"queued portals: %d output queue: %d/%d\n",
+
socket&&socket->query_fd(),
+
sizeof(i::this),i::_size_object(),
+
qportals->size(),sizeof(this),_size_object());
+
break;
+
}
+
return res;
+
}
+
protected void create(object _pgsqlsess,Thread.Queue _qportals,int nossl) { i::create(); o::create(); qportals = _qportals;