News for hackers. Stuff that matters.
Re:Old, Good Database Design by yummybrownies on Tuesday September 15, 2020 @02:27PM (#24484817)
Three techniques for sum types in SQL (absorption, separation, and partition):

https://www.parsonsmatt.org/2019/03/19/sum_types_in_sql.html

Also, here is a relational database system with native support for sum types (and also no "NULL" nonsense, which is also not part of pure relational algebra):

https://github.com/agentm/project-m36

Re:Old, Good Database Design by throwaway894345 on Wednesday September 16, 2020 @12:07PM (#24493980)
Oh, very cool. I'll check those out. Thanks for sharing!