-- octet_length(string) int Number of bytes in binary string select octet_length( 'jo\\000se'::bytea)