protected function Tasks::checkStandardConformingStringsSuccess in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php \Drupal\Core\Database\Driver\pgsql\Install\Tasks::checkStandardConformingStringsSuccess()
Verifies the standard_conforming_strings setting.
1 call to Tasks::checkStandardConformingStringsSuccess()
- Tasks::checkStandardConformingStrings in core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Install/ Tasks.php - Ensures standard_conforming_strings setting is 'on'.
File
- core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Install/ Tasks.php, line 231
Class
- Tasks
- Specifies installation tasks for PostgreSQL databases.
Namespace
Drupal\Core\Database\Driver\pgsql\InstallCode
protected function checkStandardConformingStringsSuccess() {
$standard_conforming_strings = Database::getConnection()
->query("SHOW standard_conforming_strings")
->fetchField();
return $standard_conforming_strings == 'on';
}