function Tasks::checkBinaryOutputSuccess
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php \Drupal\Core\Database\Driver\pgsql\Install\Tasks::checkBinaryOutputSuccess()
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::checkBinaryOutputSuccess()
- 11.x core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::checkBinaryOutputSuccess()
Verify that a binary data roundtrip returns the original string.
1 call to Tasks::checkBinaryOutputSuccess()
- Tasks::checkBinaryOutput in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Check Binary Output.
File
-
core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php, line 184
Class
- Tasks
- Specifies installation tasks for PostgreSQL databases.
Namespace
Drupal\pgsql\Driver\Database\pgsql\InstallCode
protected function checkBinaryOutputSuccess() {
$bytea_output = Database::getConnection()->query("SHOW bytea_output")
->fetchField();
return $bytea_output == 'escape';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.