Postgresql Text To Array Python Definition