You are here

protected function Tasks::checkBinaryOutputSuccess in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php \Drupal\Core\Database\Driver\pgsql\Install\Tasks::checkBinaryOutputSuccess()

Verify that a binary data roundtrip returns the original string.

1 call to Tasks::checkBinaryOutputSuccess()
Tasks::checkBinaryOutput in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check Binary Output.

File

core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 185
Contains \Drupal\Core\Database\Driver\pgsql\Install\Tasks.

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';
}