concept partitioning in category postgis

appears as: partitioning, partitioning
PostGIS in Action, Third Edition

This is an excerpt from Manning's book PostGIS in Action, Third Edition.

As you can see, implementing using partitioning is a bit shorter and more importantly easier to maintain. If you create an index or primary on the partitioned table, all partitions inherit these as well, so no need to repeate the index or key on each partitin as you did with inheritance. The primary key used has to be guaranteed unique across the whole partitioned table, therefore you can’t just use gid, you need to also include the partitioning key to guarantee that each tables primary key is unique across the whole set without need to inspect the other tables. This limitation of having to include the partitioned key in the primary index is planned to be lifted in a future PostgreSQL version.