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:402:
//! @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. //! 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
+
//!
Number
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
pike.git/lib/modules/Sql.pmod/pgsql.pike:1303:
//! not still in a dangling transaction. //! //! If called while the connection is in idle state, the function is //! lightweight and briefly touches base with the database server to //! make sure client and server are in sync. //! //! If issued while inside a transaction, it will rollback the transaction, //! close all open cursors, drop all temporary tables and reset all //! session variables to their default values. //!
+
//! @note
+
//! This function @b{can@} raise exceptions.
+
//!
//! @seealso //! @[cancelquery()], @[reload()] //! //! @note //! This function is PostgreSQL-specific, and thus it is not available //! through the generic SQL-interface. /*semi*/final void resync() { mixed err; if(is_open()) { err = catch {