What you should know about constraints in PostgreSQL | Dark Hacker News