Verify that a binary data roundtrip returns the original string.
File
- drupal/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 173
- Definition of Drupal\Core\Database\Driver\pgsql\Install\Tasks
Class
- Tasks
- PostgreSQL specific install functions
Namespace
Drupal\Core\Database\Driver\pgsql\Install
Code
protected function checkBinaryOutputSuccess() {
$bytea_output = db_query("SELECT 'encoding'::bytea AS output")
->fetchField();
return $bytea_output == 'encoding';
}