First()/last() aggregates in Postgres | Hacker News Reader