Postgresql Row To Array Python Size Command