pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-11-18
2014-11-18 20:19:11 by Stephen R. van den Berg <srb@cuci.nl>
10fa55349cba159030418389c22a67d504ad3dc3 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
pgsql: Improve debugging output.
656:
Stdio.Buffer plugbuffer=Stdio.Buffer(); plugbuffer->add(_portalname= (_unnamedportalkey=pgsqlsess._unnamedportalmux->trylock(1))
-
? "" :
PORTALPREFIX+int2hex
(pgsqlsess._pportalcount++) )->add_int8(0)
+
? "" :
PORTALPREFIX
+
#ifdef PG_DEBUG
+
+
(
string)(c->socket->query_fd())+"_"
+
#endif
+
+int2hex(
pgsqlsess._pportalcount++) )->add_int8(0)
->add(_preparedname)->add_int8(0)->add_int16(sizeof(dtoid)); foreach(dtoid;;int textbin) plugbuffer->add_int16(oidformat(textbin));