Implementing “seen by” functionality with Postgres | Hacker News