Substring replace length postgresql

Version imprimable