db_decode_blob($data)
drupal/includes/database.pgsql.inc, line 361
Returns text from a Binary Large OBject value. In case of PostgreSQL decodes data after select from bytea field.
$data Data to decode.
Decoded data.
| Name | Description |
|---|---|
| Database abstraction layer | Allow the use of different database servers using the same code base. |
function db_decode_blob($data) {
return pg_unescape_bytea($data);
}