int pg_pending ()
int pg_pending (object obj)
Return the number of pending queries for the connection on the given
object (default is the current object). The object has no
database connection, return -1.
The function is available only if the driver is compiled with
PostgreSQL support. In that case, __PGSQL__ is defined.
The efun triggers a privilege violation ("pgsql", "pg_pending").
Added in 3.3.445.
LDMud 3.3.640 added the privilege violation.
pgsql(C), pg_connect(E), pg_conv_string(E), pg_query(E), pg_close(E),
zurück zur Übersicht