Postgresql Function Array Parameter Python Definition