Postgres Select Rows Into Array Interview