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:400:
//! @returns //! A set of statistics for the current session: //! @mapping //! @member int "warnings_dropped" //! Number of warnings/notices generated by the database but not //! collected by the application by using @[error()] after the statements //! that generated them. //! @member int "skipped_describe_count" //! Number of times the driver skipped asking the database to
-
//! describe the statement parameters because it was already
-
//!
cached.
Depends
on
the
PG_STATS
define
being
set
.
+
//! describe the statement parameters because it was already
cached.
+
//!
Only
available
if
PG_STATS
is
compile-time
enabled
.
//! @member int "used_prepared_statements"
-
//! Numer of times prepared statements were used from cache instead
-
//!
of
reparsing in the current session.
Depends on the PG_STATS
-
//!
define
being
set
.
+
//! Numer of times prepared statements were used from cache instead
of
+
//! reparsing in the current session.
+
//!
Only available if
PG_STATS
is
compile-time
enabled
.
//! @member int "current_prepared_statements" //! Cache size of currently prepared statements. //! @member int "current_prepared_statement_hits" //! Sum of the number hits on statements in the current statement cache. //! @member int "prepared_statement_count" //! Total number of prepared statements generated. //! @member int "portals_opened_count" //! Total number of portals opened, i.e. number of statements issued
-
//! to the database.
Depends
on
the
PG_STATS
define
being
set
.
+
//! to the database.
+
//!
Only available if
PG_STATS
is
compile-time
enabled
.
//! @member int "bytes_received" //! Total number of bytes received from the database so far. //! @member int "messages_received" //! Total number of messages received from the database (one SQL-statement //! requires multiple messages to be exchanged). //! @member int "reconnect_count" //! Number of times the connection to the database has been lost. //! @member int "portals_in_flight" //! Currently still open portals, i.e. running statements. //! @endmapping