‪TYPO3CMS  9.5
TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck Class Reference
Inheritance diagram for TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck:
TYPO3\CMS\Install\SystemEnvironment\CheckInterface

Public Member Functions

FlashMessageQueue getStatus ()
 

Protected Member Functions

 checkPostgreSqlVersion (Connection $connection)
 
 checkLibpqVersion ()
 

Protected Attributes

FlashMessageQueue $messageQueue
 
string $minimumPostgreSQLVerion = '9.2'
 
string $minimumLibPQVersion = '9.0'
 

Detailed Description

Check database configuration status for PostgreSQL

This class is a hardcoded requirement check for the database server.

The status messages and title must not include HTML, use plain text only. The return values of this class are not bound to HTML and can be used in different scopes (eg. as json array).

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 36 of file PostgreSqlCheck.php.

Member Function Documentation

◆ checkLibpqVersion()

TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck::checkLibpqVersion ( )
protected

◆ checkPostgreSqlVersion()

TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck::checkPostgreSqlVersion ( Connection  $connection)
protected

Check minimum PostgreSQL version

Parameters
Connection$connection‪to the database to be checked

Definition at line 79 of file PostgreSqlCheck.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR, and TYPO3\CMS\Core\Database\Connection\getServerVersion().

Referenced by TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck\getStatus().

◆ getStatus()

Member Data Documentation

◆ $messageQueue

FlashMessageQueue TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck::$messageQueue
protected

◆ $minimumLibPQVersion

string TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck::$minimumLibPQVersion = '9.0'
protected

Minimum supported libpq version

Definition at line 51 of file PostgreSqlCheck.php.

◆ $minimumPostgreSQLVerion

string TYPO3\CMS\Install\SystemEnvironment\DatabasePlatform\PostgreSqlCheck::$minimumPostgreSQLVerion = '9.2'
protected

Minimum supported PostgreSQL Server version

Definition at line 46 of file PostgreSqlCheck.php.