protected function 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');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Driver!pgsql!Install!Tasks.php/function/Tasks::checkStandardConformingStringsSuccess/8.1.x