Mega Code Archive

 
Categories / PostgreSQL / String Functions
 

Octet_length(string) int Number of bytes in binary string

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