Database inheritance: Postgres?

I’ve been unhappy with the inheritance provided by PHP ORM’s I’ve looked at. In looking for something better, I discovered that Postgres has built in inheritance, because it is an object-relational database. One table can inherit from another as part of its schema.

Being built in, it seems like it might not have the limitations that were bothering me about the ORM’s inheritance systems. I will have to take a closer look at it and maybe build my own minimal ORM on top of it. It might fit nicely with an application I have in mind.

It might seem a bit daunting to learn a new DBMS, but Postgres still supports SQL, so it shouldn’t be overly difficult.

#Page top