* @file
* @ingroup Database
*/
+use Wikimedia\WaitConditionLoop;
/**
* @ingroup Database
*/
-class DatabasePostgres extends DatabaseBase {
+class DatabasePostgres extends Database {
/** @var int|bool */
protected $port;
if ( (int)$this->port > 0 ) {
$connectVars['port'] = (int)$this->port;
}
- if ( $this->mFlags & DBO_SSL ) {
+ if ( $this->mFlags & self::DBO_SSL ) {
$connectVars['sslmode'] = 1;
}
}
function timestamp( $ts = 0 ) {
- $ct = new ConvertableTimestamp( $ts );
+ $ct = new ConvertibleTimestamp( $ts );
return $ct->getTimestamp( TS_POSTGRES );
}
}
/**
- * Determine default schema for MediaWiki core
+ * Determine default schema for the current application
* Adjust this session schema search path if desired schema exists
* and is not alread there.
*
}
/**
- * Return schema name fore core MediaWiki tables
+ * Return schema name for core application tables
*
* @since 1.19
* @return string Core schema name