MediaWiki  REL1_22
SavepointPostgres Class Reference

Manage savepoints within a transaction. More...

List of all members.

Public Member Functions

 __construct ($dbw, $id)
 __destruct ()
 __toString ()
 commit ()
 release ()
 rollback ()
 savepoint ()

Protected Member Functions

 query ($keyword, $msg_ok, $msg_failed)

Protected Attributes

 $dbw
 Establish a savepoint within a transaction.
 $didbegin
 $id

Detailed Description

Manage savepoints within a transaction.

Since:
1.19

Definition at line 213 of file DatabasePostgres.php.


Constructor & Destructor Documentation

SavepointPostgres::__construct ( dbw,
id 
)

Definition at line 221 of file DatabasePostgres.php.

References $dbw, and $id.

Definition at line 232 of file DatabasePostgres.php.


Member Function Documentation

Definition at line 278 of file DatabasePostgres.php.

References id.

Definition at line 239 of file DatabasePostgres.php.

SavepointPostgres::query ( keyword,
msg_ok,
msg_failed 
) [protected]

Definition at line 246 of file DatabasePostgres.php.

References false, global, and wfDebug().

Referenced by release(), rollback(), and savepoint().

Definition at line 264 of file DatabasePostgres.php.

References query().

Definition at line 271 of file DatabasePostgres.php.

References query().

Definition at line 257 of file DatabasePostgres.php.

References query().


Member Data Documentation

SavepointPostgres::$dbw [protected]

Establish a savepoint within a transaction.

Definition at line 217 of file DatabasePostgres.php.

Referenced by __construct().

SavepointPostgres::$didbegin [protected]

Definition at line 219 of file DatabasePostgres.php.

SavepointPostgres::$id [protected]

Definition at line 218 of file DatabasePostgres.php.

Referenced by __construct().


The documentation for this class was generated from the following file: