Hacker News new | ask | show | jobs
by AlterEgo20 3720 days ago
As for number 5 - Postgres already does that. This feature is called "constraints". Such constraints can be applied to multiple columns and are used to build better query plans (as well as limiting DML operations)