Postgres Stored Procedure Declare Array Php