Postgresql Text To Array Python Methods Vs Functions