Postgresql Create Array In Python Definition Range