SELECT site, date, is_read, title, uid, name FROM post p JOIN feed f ON p.site = f.slug WHERE uid = ANY ($1) ORDER BY date DESC;