Hacker News new | past | comments | ask | show | jobs | submit login

Yes + Postgres has Domains which are very nice, especially if you use only Functions for data insert (which i do) This gives you more granularity, than a domain on a Column. Domians are like Dependent Types, offering very fine grained control, enforced by RegEx, functions, enums, even lookup functions are ok so long as lookup tables are stable.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: