Tasks::checkStandardConformingStringsSuccess

protected Tasks::checkStandardConformingStringsSuccess()

Verifies the standard_conforming_strings setting.

File

core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 232

Class

Tasks
Specifies installation tasks for PostgreSQL databases.

Namespace

Drupal\Core\Database\Driver\pgsql\Install

Code

protected function checkStandardConformingStringsSuccess() {
  $standard_conforming_strings = Database::getConnection()->query("SHOW standard_conforming_strings")->fetchField();
  return ($standard_conforming_strings == 'on');
}
doc_Drupal
2016-10-29 09:46:21
Comments
Leave a Comment

Please login to continue.