When to use inherited tables in PostgreSQL?

后端 未结 7 1098
遇见更好的自我
遇见更好的自我 2020-12-12 11:40

In which situations you should use inherited tables? I tried to use them very briefly and inheritance didn\'t seem like in OOP world.

I thought it worked like this:<

7条回答
  •  失恋的感觉
    2020-12-12 12:20

    The only experience I have with inherited tables, is in partioning. It works fine but it's not the most sophisticated and easy to use part of PostgreSQL.

    Last week we were looking the same OOP issue, but we had too many problems with Hibernate (didn't like our setup), so we didn't use inheritance in PostgreSQL.

提交回复
热议问题