5 ms·
The alternative is to just copy paste the table definition or do composition with foreign keys. Seems like field inheritance was invented only because we are to
by laerus 3y ago
The alternative is to just copy paste the table definition or do composition with foreign keys. Seems like field inheritance was invented only because we are too lazy, I have not seen yet valid cases for inheritance in Postgres or any OOP language.
- mattashii 3y agoUntil the implementation of declarative partitioning, inheritance was the only way to do table partitioning. Although the partitioning use case has mostly been replaced, that doesn't mean it can just be removed as there are existing systems using inheritance to manage their data.