Postgresql Convert Array To String Python