Doc: discourage use of partial indexes for poor-man's-partitioning.
authorTom Lane
Wed, 19 Feb 2020 23:52:18 +0000 (18:52 -0500)
committerTom Lane
Wed, 19 Feb 2020 23:52:18 +0000 (18:52 -0500)
commitbbce2912fa899de30783a6a76a6443b5a2aede8d
tree13d3f65f0d315395a794bf953e4e63a9f658bd6d
parentc987c9d42bc698fb2930280d46d191a50abe68f1
Doc: discourage use of partial indexes for poor-man's-partitioning.

Creating a bunch of non-overlapping partial indexes is generally
a bad idea, so add an example saying not to do that.

Back-patch to v10.  Before that, the alternative of using (real)
partitioning wasn't available, so that the tradeoff isn't quite
so clear cut.

Discussion: https://postgr.es/m/CAKVFrvFY-f7kgwMRMiPLbPYMmgjc8Y2jjUGK_Y0HVcYAmU6ymg@mail.gmail.com
doc/src/sgml/indices.sgml