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

1
2
3
4
protected function checkBinaryOutputSuccess() {
  $bytea_output = db_query("SHOW bytea_output")->fetchField();
  return ($bytea_output == 'escape');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.