Verify that a binary data roundtrip returns the original string.
protected function checkBinaryOutputSuccess() { $bytea_output = db_query("SELECT 'encoding'::bytea AS output") ->fetchField(); return $bytea_output == 'encoding'; }