Add PostgreSQL array type cast failing test
Fix PostgreSQL array type casting