Array Input In Postgresql Function