protected function 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\InstallCode
protected function checkBinaryOutputSuccess() { $bytea_output = db_query("SHOW bytea_output")->fetchField(); return ($bytea_output == 'escape'); }
© 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::checkBinaryOutputSuccess/8.1.x