Postgres Function Select Into Array Interview