Postgresql Substring From Character Dnd