Tasks::checkBinaryOutputSuccess

protected Tasks::checkBinaryOutputSuccess()

Verify that a binary data roundtrip returns the original string.

File

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

Class

Tasks
Specifies installation tasks for PostgreSQL databases.

Namespace

Drupal\Core\Database\Driver\pgsql\Install

Code

protected function checkBinaryOutputSuccess() {
  $bytea_output = db_query("SHOW bytea_output")->fetchField();
  return ($bytea_output == 'escape');
}
doc_Drupal
2016-10-29 09:46:20
Comments
Leave a Comment

Please login to continue.