Postgresql Text To Array Python Question