Postgres Stored Procedure Declare Array In Python